Class ConnectedInputHandler.ConnectedInput
java.lang.Object
com.simibubi.create.content.kinetics.crafter.ConnectedInputHandler.ConnectedInput
- Enclosing class:
ConnectedInputHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachTo(net.minecraft.core.BlockPos controllerPos, net.minecraft.core.BlockPos myPos) getInventories(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) net.neoforged.neoforge.items.IItemHandlergetItemHandler(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) voidread(net.minecraft.nbt.CompoundTag nbt) voidwrite(net.minecraft.nbt.CompoundTag nbt)
-
Constructor Details
-
ConnectedInput
public ConnectedInput()
-
-
Method Details
-
attachTo
public void attachTo(net.minecraft.core.BlockPos controllerPos, net.minecraft.core.BlockPos myPos) -
getItemHandler
public net.neoforged.neoforge.items.IItemHandler getItemHandler(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) -
getInventories
public List<MechanicalCrafterBlockEntity.Inventory> getInventories(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) -
write
public void write(net.minecraft.nbt.CompoundTag nbt) -
read
public void read(net.minecraft.nbt.CompoundTag nbt)
-