Class BooleanDataComponent
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.item.component.DataComponent<Boolean,BooleanComponentType>
org.geysermc.mcprotocollib.protocol.data.game.item.component.type.BooleanDataComponent
-
Field Summary
Fields inherited from class org.geysermc.mcprotocollib.protocol.data.game.item.component.DataComponent
type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.geysermc.mcprotocollib.protocol.data.game.item.component.DataComponent
equals, getType, hashCode, toString
-
Constructor Details
-
BooleanDataComponent
-
-
Method Details
-
getValue
Description copied from class:DataComponentMay be null depending on type- Specified by:
getValuein classDataComponent<Boolean,BooleanComponentType>
-
write
public void write(io.netty.buffer.ByteBuf out) Description copied from class:DataComponentOverridden for primitive classes. This write method still checks for these primitives in the event they are manually created usingObjectDataComponent.- Overrides:
writein classDataComponent<Boolean,BooleanComponentType>
-