public class ConverterDoubleSlab extends AbstractConverter
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canSerialize(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state) |
protected net.minecraft.item.ItemStack |
getItemStack(net.minecraft.item.Item item,
net.minecraft.block.state.IBlockState state,
net.minecraft.nbt.NBTBase data)
Resolve an item to an actual item stack.
|
cancelDeserialization, canSerialize, deserialize, getBlockState, getFluidCosts, getFluidStack, getItemCosts, getItemStack, getSortIndex, getUUID, postDeserialize, postSerialize, preDeserialize, serializeprotected net.minecraft.item.ItemStack getItemStack(net.minecraft.item.Item item,
net.minecraft.block.state.IBlockState state,
net.minecraft.nbt.NBTBase data)
AbstractConvertergetItemStack in class AbstractConverteritem - the item to create an item stack for.state - the block state based on which to create the item.data - the serialized representation of the block.protected boolean canSerialize(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.block.state.IBlockState state)
canSerialize in class AbstractConverter