Class LaunchedItem.ForEntity
java.lang.Object
com.simibubi.create.content.schematics.block.LaunchedItem
com.simibubi.create.content.schematics.block.LaunchedItem.ForEntity
- Enclosing class:
- LaunchedItem
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.schematics.block.LaunchedItem
LaunchedItem.ForBelt, LaunchedItem.ForBlockState, LaunchedItem.ForEntity -
Field Summary
FieldsFields inherited from class com.simibubi.create.content.schematics.block.LaunchedItem
stack, target, ticksRemaining, totalTicks -
Constructor Summary
ConstructorsConstructorDescriptionForEntity(net.minecraft.core.BlockPos start, net.minecraft.core.BlockPos target, net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.Entity entity) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.nbt.CompoundTagbooleanupdate(net.minecraft.world.level.Level world) Methods inherited from class com.simibubi.create.content.schematics.block.LaunchedItem
fromNBT
-
Field Details
-
entity
public net.minecraft.world.entity.Entity entity
-
-
Constructor Details
-
ForEntity
public ForEntity(net.minecraft.core.BlockPos start, net.minecraft.core.BlockPos target, net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.Entity entity)
-
-
Method Details
-
update
public boolean update(net.minecraft.world.level.Level world) - Overrides:
updatein classLaunchedItem
-
serializeNBT
public net.minecraft.nbt.CompoundTag serializeNBT()- Overrides:
serializeNBTin classLaunchedItem
-