Class DendroCoreEntity.SyncDendroCoreS2CPayload
java.lang.Object
io.github.xrickastley.sevenelements.entity.DendroCoreEntity.SyncDendroCoreS2CPayload
- All Implemented Interfaces:
CustomPayload
- Enclosing class:
DendroCoreEntity
public static class DendroCoreEntity.SyncDendroCoreS2CPayload
extends Object
implements CustomPayload
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.packet.CustomPayload
CustomPayload.CodecFactory<B extends PacketByteBuf>, CustomPayload.Id<T extends CustomPayload>, CustomPayload.Type<B extends PacketByteBuf,T extends CustomPayload> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intstatic final CustomPayload.Id<DendroCoreEntity.SyncDendroCoreS2CPayload> private final DendroCoreEntity.Type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSyncDendroCoreS2CPayload(int entityId, int age, DendroCoreEntity.Type type) privateSyncDendroCoreS2CPayload(DendroCoreEntity dendroCore) -
Method Summary
Modifier and TypeMethodDescriptionintentityId()CustomPayload.Id<? extends CustomPayload> getId()
-
Field Details
-
ID
-
CODEC
-
entityId
private final int entityId -
age
private final int age -
type
-
-
Constructor Details
-
SyncDendroCoreS2CPayload
-
SyncDendroCoreS2CPayload
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceCustomPayload
-
entityId
public int entityId()
-