public abstract class LaunchedItem
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LaunchedItem.ForBelt |
static class |
LaunchedItem.ForBlockState |
static class |
LaunchedItem.ForEntity |
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.item.ItemStack |
stack |
net.minecraft.util.math.BlockPos |
target |
int |
ticksRemaining |
int |
totalTicks |
| Modifier and Type | Method and Description |
|---|---|
static LaunchedItem |
fromNBT(net.minecraft.nbt.CompoundNBT c) |
net.minecraft.nbt.CompoundNBT |
serializeNBT() |
boolean |
update(net.minecraft.world.World world) |
public int totalTicks
public int ticksRemaining
public net.minecraft.util.math.BlockPos target
public net.minecraft.item.ItemStack stack
public boolean update(net.minecraft.world.World world)
public net.minecraft.nbt.CompoundNBT serializeNBT()
public static LaunchedItem fromNBT(net.minecraft.nbt.CompoundNBT c)