Class MobCustomer
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.neoforged.neoforge.attachment.IAttachmentSerializer<net.minecraft.nbt.CompoundTag, MobCustomer> final net.minecraft.world.entity.EntityFields inherited from class petrolpark.mc.library.core.world.restaurant.customer.AbstractCustomer
elapsedOrderTime, openOrder, restaurantFields inherited from interface petrolpark.mc.library.core.world.restaurant.customer.ICustomer
INFINITE_ORDER_TIME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final MobCustomercreate(net.neoforged.neoforge.attachment.IAttachmentHolder attachmentHolder) net.minecraft.network.chat.ComponentgetName()voidsupplyLootParams(net.minecraft.world.level.storage.loot.LootParams.Builder builder) Methods inherited from class petrolpark.mc.library.core.world.restaurant.customer.AbstractCustomer
clearOpenOrder, deserializeNBT, getElapsedOrderTime, getOpenOrder, getRestaurant, serializeNBT, tick
-
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)
-