EntityInventory.java 408 B

1234567891011121314151617181920
  1. package me.km.utils;
  2. import net.minecraft.entity.Entity;
  3. import net.minecraft.inventory.InventoryBasic;
  4. public class EntityInventory extends InventoryBasic
  5. {
  6. private final Entity ent;
  7. public EntityInventory(String title, int slotCount, Entity ent)
  8. {
  9. super(title, true, slotCount);
  10. this.ent = ent;
  11. }
  12. public Entity getEntity()
  13. {
  14. return ent;
  15. }
  16. }