Package appeng.api.features
Interface IGridLinkableHandler
public interface IGridLinkableHandler
Handles the linking of items to specific grids when they're put into the wireless access point linking slot.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canLink
(net.minecraft.world.item.ItemStack stack) Tests if the given item stack supports being linked with a wireless access point.void
link
(net.minecraft.world.item.ItemStack itemStack, net.minecraft.core.GlobalPos pos) Link the given stack to the access point at the given position.void
unlink
(net.minecraft.world.item.ItemStack itemStack) Unlink the given stack from any previously linked grid.
-
Method Details
-
canLink
boolean canLink(net.minecraft.world.item.ItemStack stack) Tests if the given item stack supports being linked with a wireless access point. -
link
void link(net.minecraft.world.item.ItemStack itemStack, net.minecraft.core.GlobalPos pos) Link the given stack to the access point at the given position. -
unlink
void unlink(net.minecraft.world.item.ItemStack itemStack) Unlink the given stack from any previously linked grid.
-