public class EntityAccessHelper
extends java.lang.Object
Constructor and Description |
---|
EntityAccessHelper() |
Modifier and Type | Method and Description |
---|---|
static net.minecraft.util.ResourceLocation |
getDeathLootTable(net.minecraft.entity.MobEntity entity)
Gets the death loot table of the entity.
|
static void |
setDeathLootTable(net.minecraft.entity.MobEntity entity,
net.minecraft.util.ResourceLocation lootTable)
Sets the loot table for the entity passed.
|
public static net.minecraft.util.ResourceLocation getDeathLootTable(net.minecraft.entity.MobEntity entity)
entity
- ResourceLocation
public static void setDeathLootTable(net.minecraft.entity.MobEntity entity, net.minecraft.util.ResourceLocation lootTable)
entity
- lootTable
-