Class LaunchedItem
java.lang.Object
com.simibubi.create.content.schematics.block.LaunchedItem
- Direct Known Subclasses:
LaunchedItem.ForBlockState,LaunchedItem.ForEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionnet.minecraft.world.item.ItemStacknet.minecraft.core.BlockPosintint -
Method Summary
Modifier and TypeMethodDescriptionstatic LaunchedItemfromNBT(net.minecraft.nbt.CompoundTag c) net.minecraft.nbt.CompoundTagbooleanupdate(net.minecraft.world.level.Level world)
-
Field Details
-
totalTicks
public int totalTicks -
ticksRemaining
public int ticksRemaining -
target
public net.minecraft.core.BlockPos target -
stack
public net.minecraft.world.item.ItemStack stack
-
-
Method Details
-
update
public boolean update(net.minecraft.world.level.Level world) -
serializeNBT
public net.minecraft.nbt.CompoundTag serializeNBT() -
fromNBT
-