Interface ICustomer
- All Known Implementing Classes:
AbstractCustomer,MobCustomer,NoCustomer
public interface ICustomer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddLootParams(ICustomer customer, net.minecraft.world.level.storage.loot.LootParams.Builder builder) voidintnet.minecraft.network.chat.ComponentgetName()net.minecraft.core.Holder<Restaurant> voidsupplyLootParams(net.minecraft.world.level.storage.loot.LootParams.Builder builder)
-
Field Details
-
INFINITE_ORDER_TIME
static final int INFINITE_ORDER_TIME- See Also:
-
-
Method Details
-
addLootParams
static void addLootParams(ICustomer customer, net.minecraft.world.level.storage.loot.LootParams.Builder builder) -
getElapsedOrderTime
int getElapsedOrderTime() -
getOpenOrder
IRestaurantOrder getOpenOrder() -
getRestaurant
net.minecraft.core.Holder<Restaurant> getRestaurant() -
clearOpenOrder
void clearOpenOrder() -
getName
net.minecraft.network.chat.Component getName() -
supplyLootParams
void supplyLootParams(net.minecraft.world.level.storage.loot.LootParams.Builder builder)
-