- All Implemented Interfaces:
- java.util.function.BiFunction<net.minecraft.item.ItemStack,net.minecraft.loot.LootContext,net.minecraft.item.ItemStack>, net.minecraft.loot.functions.ILootFunction, net.minecraft.loot.IParameterized
public class TileEntitySerializerFunction
extends net.minecraft.loot.LootFunction
Handle the standard serialization of PNC tile entity data to the dropped itemstack.
Saved to the "BlockEntityTag" NBT tag, so will be copied directly back to the TE's NBT
by net.minecraft.item.BlockItem#setTileEntityNBT(World, PlayerEntity, BlockPos, ItemStack)