Class LaunchedItem.ForEntity
java.lang.Object
com.simibubi.create.content.schematics.cannon.LaunchedItem
com.simibubi.create.content.schematics.cannon.LaunchedItem.ForEntity
- Enclosing class:
LaunchedItem
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.schematics.cannon.LaunchedItem
LaunchedItem.ForBelt, LaunchedItem.ForBlockState, LaunchedItem.ForEntity -
Field Summary
FieldsFields inherited from class com.simibubi.create.content.schematics.cannon.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.CompoundTagserializeNBT(net.minecraft.core.HolderLookup.Provider registries) booleanupdate(net.minecraft.world.level.Level world) Methods inherited from class com.simibubi.create.content.schematics.cannon.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(net.minecraft.core.HolderLookup.Provider registries) - Overrides:
serializeNBTin classLaunchedItem
-