public static class LaunchedItem.ForEntity extends LaunchedItem
LaunchedItem.ForBelt, LaunchedItem.ForBlockState, LaunchedItem.ForEntity| Modifier and Type | Field and Description |
|---|---|
net.minecraft.entity.Entity |
entity |
stack, target, ticksRemaining, totalTicks| Constructor and Description |
|---|
ForEntity(net.minecraft.util.math.BlockPos start,
net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.nbt.CompoundNBT |
serializeNBT() |
boolean |
update(net.minecraft.world.World world) |
fromNBTpublic ForEntity(net.minecraft.util.math.BlockPos start,
net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.Entity entity)
public boolean update(net.minecraft.world.World world)
update in class LaunchedItempublic net.minecraft.nbt.CompoundNBT serializeNBT()
serializeNBT in class LaunchedItem