Class SmithingTrimSlotDisplay
java.lang.Object
com.github.retrooper.packetevents.protocol.recipe.display.slot.SlotDisplay<SmithingTrimSlotDisplay>
com.github.retrooper.packetevents.protocol.recipe.display.slot.SmithingTrimSlotDisplay
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.recipe.display.slot.SlotDisplay
type
-
Constructor Summary
ConstructorsConstructorDescriptionSmithingTrimSlotDisplay
(SlotDisplay<?> base, SlotDisplay<?> material, TrimPattern trimPattern) Added with 1.21.5SmithingTrimSlotDisplay
(SlotDisplay<?> base, SlotDisplay<?> material, SlotDisplay<?> pattern) Removed with 1.21.5,pattern
has been replaced withtrimPattern
-
Method Summary
Modifier and TypeMethodDescriptionboolean
SlotDisplay
<?> getBase()
SlotDisplay
<?> SlotDisplay
<?> Removed with 1.21.5, replaced withgetTrimPattern()
Added with 1.21.5int
hashCode()
static SmithingTrimSlotDisplay
read
(PacketWrapper<?> wrapper) void
setBase
(SlotDisplay<?> base) void
setMaterial
(SlotDisplay<?> material) void
setPattern
(SlotDisplay<?> pattern) Removed with 1.21.5, replaced withsetTrimPattern(TrimPattern)
void
setTrimPattern
(TrimPattern trimPattern) Added with 1.21.5toString()
static void
write
(PacketWrapper<?> wrapper, SmithingTrimSlotDisplay display) Methods inherited from class com.github.retrooper.packetevents.protocol.recipe.display.slot.SlotDisplay
getType, write
-
Constructor Details
-
SmithingTrimSlotDisplay
public SmithingTrimSlotDisplay(SlotDisplay<?> base, SlotDisplay<?> material, TrimPattern trimPattern) Added with 1.21.5 -
SmithingTrimSlotDisplay
@Obsolete public SmithingTrimSlotDisplay(SlotDisplay<?> base, SlotDisplay<?> material, SlotDisplay<?> pattern) Removed with 1.21.5,pattern
has been replaced withtrimPattern
-
-
Method Details
-
read
-
write
-
getBase
-
setBase
-
getMaterial
-
setMaterial
-
getPattern
Removed with 1.21.5, replaced withgetTrimPattern()
-
setPattern
Removed with 1.21.5, replaced withsetTrimPattern(TrimPattern)
-
getTrimPattern
Added with 1.21.5 -
setTrimPattern
Added with 1.21.5 -
equals
-
hashCode
public int hashCode() -
toString
-