Class EntityCustomer

java.lang.Object
com.petrolpark.core.shop.customer.AbstractCustomer
com.petrolpark.core.shop.customer.EntityCustomer
All Implemented Interfaces:
ICustomer, net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>

public class EntityCustomer extends AbstractCustomer
  • Field Details

    • entity

      public final net.minecraft.world.entity.Entity entity
    • ATTACHMENT_SERIALIZER

      public static final net.neoforged.neoforge.attachment.IAttachmentSerializer<net.minecraft.nbt.CompoundTag,EntityCustomer> ATTACHMENT_SERIALIZER
  • Constructor Details

    • EntityCustomer

      public EntityCustomer(net.minecraft.world.entity.Entity entity)
  • Method Details

    • create

      public static final EntityCustomer create(net.neoforged.neoforge.attachment.IAttachmentHolder attachmentHolder)
    • getName

      public net.minecraft.network.chat.Component getName()
    • supplyLootParams

      public void supplyLootParams(net.minecraft.world.level.storage.loot.LootParams.Builder builder)