public static class LaunchedItem.ForBlockState extends LaunchedItem
LaunchedItem.ForBelt, LaunchedItem.ForBlockState, LaunchedItem.ForEntity| Modifier and Type | Field and Description |
|---|---|
net.minecraft.nbt.CompoundNBT |
data |
net.minecraft.block.BlockState |
state |
stack, target, ticksRemaining, totalTicks| Constructor and Description |
|---|
ForBlockState(net.minecraft.util.math.BlockPos start,
net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack stack,
net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT data) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.nbt.CompoundNBT |
serializeNBT() |
fromNBT, updatepublic net.minecraft.block.BlockState state
public net.minecraft.nbt.CompoundNBT data
public ForBlockState(net.minecraft.util.math.BlockPos start,
net.minecraft.util.math.BlockPos target,
net.minecraft.item.ItemStack stack,
net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT data)
public net.minecraft.nbt.CompoundNBT serializeNBT()
serializeNBT in class LaunchedItem