1234567891011121314151617181920 |
- package me.km.utils;
- import net.minecraft.entity.Entity;
- import net.minecraft.inventory.InventoryBasic;
- public class EntityInventory extends InventoryBasic
- {
- private final Entity ent;
-
- public EntityInventory(String title, int slotCount, Entity ent)
- {
- super(title, true, slotCount);
- this.ent = ent;
- }
-
- public Entity getEntity()
- {
- return ent;
- }
- }
|