Buildertoolsetentitylight - fightale.org/docsRechercher la documentation ...RechercherCtrlK
final
int
VARIABLE_FIELD_COUNT
=
0
public
static
final
int
VARIABLE_BLOCK_START
=
9
public
static
final
int
MAX_SIZE
=
9
public
int
@Nullable
public
public
int
getId
()
return
422
public
BuilderToolSetEntityLight
()
public
BuilderToolSetEntityLight
(int entityId, @Nullable ColorLight light)
this
this
public
BuilderToolSetEntityLight
(@Nonnull BuilderToolSetEntityLight other)
this
this
@Nonnull
public
static
deserialize
(@Nonnull ByteBuf buf, int offset)
BuilderToolSetEntityLight
obj
=
new
BuilderToolSetEntityLight
byte
nullBits
=
1
if
1
0
5
return
public
static
int
computeBytesConsumed
(@Nonnull ByteBuf buf, int offset)
return
9
public
void
serialize
(@Nonnull ByteBuf buf)
byte
nullBits
=
0
if
this
null
byte
1
this
if
this
null
this
else
4
public
int
computeSize
()
return
9
public
static
validateStructure
(@Nonnull ByteBuf buffer, int offset)
return
9
"Buffer too small: expected at least 9 bytes"
public
clone
()
BuilderToolSetEntityLight
copy
=
new
BuilderToolSetEntityLight
this
this
null
this
null
return
public
boolean
equals
(Object obj)
if
this
return
true
else
if
instanceof
return
false
else
BuilderToolSetEntityLight
other
=
return
this
this
public
int
hashCode
()
return
new
Object
this
this