Record Class EmptySlotSource
java.lang.Object
java.lang.Record
net.minecraft.world.item.slot.EmptySlotSource
- All Implemented Interfaces:
SlotSource, LootContextUser, Validatable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface LootContextUser
getReferencedContextParams, validate
-
Field Details
-
MAP_CODEC
-
-
Constructor Details
-
EmptySlotSource
public EmptySlotSource()Creates an instance of aEmptySlotSourcerecord class.
-
-
Method Details
-
codec
- Specified by:
codecin interfaceSlotSource
-
provide
- Specified by:
providein interfaceSlotSource
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-