java.lang.Object
petrolpark.mc.library.core.world.restaurant.customer.AbstractCustomer
petrolpark.mc.library.core.world.restaurant.customer.MobCustomer
All Implemented Interfaces:
net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>, ICustomer

public class MobCustomer 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,MobCustomer> ATTACHMENT_SERIALIZER
  • Constructor Details

    • MobCustomer

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

    • create

      public static final MobCustomer 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)