Skip to content

Package net.minecraft.network.protocol.common.custom

Part 1/1


BeeDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.BeeDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/BeeDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.BeeDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BeeDebugPayload.java:28
  • Modifiers: public
  • Return: CustomPacketPayload.Type<BeeDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ BeeDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

BeeDebugPayload instance = ...;
CustomPacketPayload.Type<BeeDebugPayload> result = instance.type();

BeeDebugPayload$BeeInfo

  • Full name: net.minecraft.network.protocol.common.custom.BeeDebugPayload$BeeInfo
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/BeeDebugPayload.java
  • Type: record
  • Modifiers: public

net.minecraft.network.protocol.common.custom.BeeDebugPayload$BeeInfo#BeeInfo(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BeeDebugPayload.java:44
  • Modifiers: public
  • Kind: constructor

คืออะไร

สร้างออบเจ็กต์ BeeDebugPayload.BeeInfo ด้วยพารามิเตอร์ที่ระบุ

ทำงานยังไง

เรียกต่อ: readUUID(), readInt(), readVec3(), readNullable(), readCollection(), readList().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

FriendlyByteBuf friendlyByteBuf = ...;
BeeDebugPayload.BeeInfo instance = new BeeDebugPayload.BeeInfo(friendlyByteBuf);

net.minecraft.network.protocol.common.custom.BeeDebugPayload$BeeInfo#generateName()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BeeDebugPayload.java:74
  • Modifiers: public
  • Return: String

คืออะไร

ดำเนินการ generateName ตาม implementation ของ BeeDebugPayload$BeeInfo

ทำงานยังไง

เรียกต่อ: getEntityName(). คืนค่า: DebugEntityNameGenerator.getEntityName(this.uuid).

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

BeeDebugPayload.BeeInfo instance = ...;
String result = instance.generateName();

net.minecraft.network.protocol.common.custom.BeeDebugPayload$BeeInfo#hasHive(BlockPos)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BeeDebugPayload.java:70
  • Modifiers: public
  • Return: boolean

คืออะไร

ตรวจสอบว่ามี Hive

ทำงานยังไง

เรียกต่อ: equals(). คืนค่า: Objects.equals(blockPos, this.hivePos).

Parameters

  • BlockPos blockPos

ตัวอย่างใช้งาน

BeeDebugPayload.BeeInfo instance = ...;
BlockPos blockPos = ...;
boolean result = instance.hasHive(blockPos);

net.minecraft.network.protocol.common.custom.BeeDebugPayload$BeeInfo#toString()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BeeDebugPayload.java:78
  • Modifiers: public
  • Return: String

คืออะไร

ดำเนินการ toString ตาม implementation ของ BeeDebugPayload$BeeInfo

ทำงานยังไง

เรียกต่อ: generateName(). คืนค่า: this.generateName().

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

BeeDebugPayload.BeeInfo instance = ...;
String result = instance.toString();

net.minecraft.network.protocol.common.custom.BeeDebugPayload$BeeInfo#write(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BeeDebugPayload.java:58
  • Modifiers: public
  • Return: void

คืออะไร

เขียน write

ทำงานยังไง

เรียกต่อ: writeUUID(), writeInt(), writeVec3(), writeNullable(), writeToStream(), writeCollection().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

BeeDebugPayload.BeeInfo instance = ...;
FriendlyByteBuf friendlyByteBuf = ...;
instance.write(friendlyByteBuf);

BrainDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.BrainDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/BrainDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.BrainDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BrainDebugPayload.java:26
  • Modifiers: public
  • Return: CustomPacketPayload.Type<BrainDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ BrainDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

BrainDebugPayload instance = ...;
CustomPacketPayload.Type<BrainDebugPayload> result = instance.type();

BrainDebugPayload$BrainDump

  • Full name: net.minecraft.network.protocol.common.custom.BrainDebugPayload$BrainDump
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/BrainDebugPayload.java
  • Type: record
  • Modifiers: public

net.minecraft.network.protocol.common.custom.BrainDebugPayload$BrainDump#BrainDump(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BrainDebugPayload.java:51
  • Modifiers: public
  • Kind: constructor

คืออะไร

สร้างออบเจ็กต์ BrainDebugPayload.BrainDump ด้วยพารามิเตอร์ที่ระบุ

ทำงานยังไง

เรียกต่อ: readUUID(), readInt(), readUtf(), readFloat(), readVec3(), readNullable(), readBoolean(), readList().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

FriendlyByteBuf friendlyByteBuf = ...;
BrainDebugPayload.BrainDump instance = new BrainDebugPayload.BrainDump(friendlyByteBuf);

net.minecraft.network.protocol.common.custom.BrainDebugPayload$BrainDump#hasPoi(BlockPos)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BrainDebugPayload.java:95
  • Modifiers: public
  • Return: boolean

คืออะไร

ตรวจสอบว่ามี Poi

ทำงานยังไง

เรียกต่อ: contains(). คืนค่า: this.pois.contains(blockPos).

Parameters

  • BlockPos blockPos

ตัวอย่างใช้งาน

BrainDebugPayload.BrainDump instance = ...;
BlockPos blockPos = ...;
boolean result = instance.hasPoi(blockPos);

net.minecraft.network.protocol.common.custom.BrainDebugPayload$BrainDump#hasPotentialPoi(BlockPos)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BrainDebugPayload.java:99
  • Modifiers: public
  • Return: boolean

คืออะไร

ตรวจสอบว่ามี Potential Poi

ทำงานยังไง

เรียกต่อ: contains(). คืนค่า: this.potentialPois.contains(blockPos).

Parameters

  • BlockPos blockPos

ตัวอย่างใช้งาน

BrainDebugPayload.BrainDump instance = ...;
BlockPos blockPos = ...;
boolean result = instance.hasPotentialPoi(blockPos);

net.minecraft.network.protocol.common.custom.BrainDebugPayload$BrainDump#write(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BrainDebugPayload.java:74
  • Modifiers: public
  • Return: void

คืออะไร

เขียน write

ทำงานยังไง

เรียกต่อ: writeUUID(), writeInt(), writeUtf(), writeFloat(), writeVec3(), writeNullable(), writeToStream(), writeBoolean().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

BrainDebugPayload.BrainDump instance = ...;
FriendlyByteBuf friendlyByteBuf = ...;
instance.write(friendlyByteBuf);

BrandPayload

  • Full name: net.minecraft.network.protocol.common.custom.BrandPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/BrandPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.BrandPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BrandPayload.java:18
  • Modifiers: public
  • Return: CustomPacketPayload.Type<BrandPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ BrandPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

BrandPayload instance = ...;
CustomPacketPayload.Type<BrandPayload> result = instance.type();

BreezeDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.BreezeDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/BreezeDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.BreezeDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BreezeDebugPayload.java:23
  • Modifiers: public
  • Return: CustomPacketPayload.Type<BreezeDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ BreezeDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

BreezeDebugPayload instance = ...;
CustomPacketPayload.Type<BreezeDebugPayload> result = instance.type();

BreezeDebugPayload$BreezeInfo

  • Full name: net.minecraft.network.protocol.common.custom.BreezeDebugPayload$BreezeInfo
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/BreezeDebugPayload.java
  • Type: record
  • Modifiers: public

net.minecraft.network.protocol.common.custom.BreezeDebugPayload$BreezeInfo#BreezeInfo(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BreezeDebugPayload.java:29
  • Modifiers: public
  • Kind: constructor

คืออะไร

สร้างออบเจ็กต์ BreezeDebugPayload.BreezeInfo ด้วยพารามิเตอร์ที่ระบุ

ทำงานยังไง

เรียกต่อ: readUUID(), readInt(), readNullable().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

FriendlyByteBuf friendlyByteBuf = ...;
BreezeDebugPayload.BreezeInfo instance = new BreezeDebugPayload.BreezeInfo(friendlyByteBuf);

net.minecraft.network.protocol.common.custom.BreezeDebugPayload$BreezeInfo#generateName()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BreezeDebugPayload.java:45
  • Modifiers: public
  • Return: String

คืออะไร

ดำเนินการ generateName ตาม implementation ของ BreezeDebugPayload$BreezeInfo

ทำงานยังไง

เรียกต่อ: getEntityName(). คืนค่า: DebugEntityNameGenerator.getEntityName(this.uuid).

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

BreezeDebugPayload.BreezeInfo instance = ...;
String result = instance.generateName();

net.minecraft.network.protocol.common.custom.BreezeDebugPayload$BreezeInfo#toString()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BreezeDebugPayload.java:49
  • Modifiers: public
  • Return: String

คืออะไร

ดำเนินการ toString ตาม implementation ของ BreezeDebugPayload$BreezeInfo

ทำงานยังไง

เรียกต่อ: generateName(). คืนค่า: this.generateName().

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

BreezeDebugPayload.BreezeInfo instance = ...;
String result = instance.toString();

net.minecraft.network.protocol.common.custom.BreezeDebugPayload$BreezeInfo#write(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/BreezeDebugPayload.java:38
  • Modifiers: public
  • Return: void

คืออะไร

เขียน write

ทำงานยังไง

เรียกต่อ: writeUUID(), writeInt(), writeNullable().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

BreezeDebugPayload.BreezeInfo instance = ...;
FriendlyByteBuf friendlyByteBuf = ...;
instance.write(friendlyByteBuf);

CustomPacketPayload

  • Full name: net.minecraft.network.protocol.common.custom.CustomPacketPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/CustomPacketPayload.java
  • Type: interface
  • Modifiers: public

net.minecraft.network.protocol.common.custom.CustomPacketPayload#codec(CustomPacketPayload.FallbackProvider<B>,List<CustomPacketPayload.TypeAndCodec<? super B, ?>>)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/CustomPacketPayload.java:26
  • Modifiers: static
  • Return: StreamCodec<B, CustomPacketPayload>

คืออะไร

ดำเนินการ codec ตาม implementation ของ CustomPacketPayload

ทำงานยังไง

เรียกต่อ: stream(), collect(), toUnmodifiableMap(), type(), id(), findCodec(), get(), create(). มีจุด return อย่างน้อย 2 จุด.

Parameters

  • CustomPacketPayload.FallbackProvider<B> fallbackProvider
  • List<CustomPacketPayload.TypeAndCodec<? super B, ?>> list

ตัวอย่างใช้งาน

CustomPacketPayload.FallbackProvider<B> fallbackProvider = ...;
List<CustomPacketPayload.TypeAndCodec<? super B, ?>> list = ...;
StreamCodec<B, CustomPacketPayload> result = CustomPacketPayload.codec(fallbackProvider, list);

net.minecraft.network.protocol.common.custom.CustomPacketPayload#codec(StreamMemberEncoder<B, T>,StreamDecoder<B, T>)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/CustomPacketPayload.java:16
  • Modifiers: static
  • Return: StreamCodec<B, T>

คืออะไร

ดำเนินการ codec ตาม implementation ของ CustomPacketPayload

ทำงานยังไง

เรียกต่อ: ofMember(). คืนค่า: StreamCodec.ofMember(streamMemberEncoder, streamDecoder).

Parameters

  • StreamMemberEncoder<B, T> streamMemberEncoder
  • StreamDecoder<B, T> streamDecoder

ตัวอย่างใช้งาน

StreamMemberEncoder<B, T> streamMemberEncoder = ...;
StreamDecoder<B, T> streamDecoder = ...;
StreamCodec<B, T> result = CustomPacketPayload.codec(streamMemberEncoder, streamDecoder);

net.minecraft.network.protocol.common.custom.CustomPacketPayload#createType(String)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/CustomPacketPayload.java:22
  • Modifiers: static
  • Return: CustomPacketPayload.Type<T>

คืออะไร

สร้าง Type

ทำงานยังไง

เรียกต่อ: withDefaultNamespace(). สร้างออบเจ็กต์: CustomPacketPayload.Type<>. คืนค่า: new CustomPacketPayload.Type<>(ResourceLocation.withDefaultNamespace(string)).

Parameters

  • String string

ตัวอย่างใช้งาน

CustomPacketPayload.Type<T> result = CustomPacketPayload.createType("value");

net.minecraft.network.protocol.common.custom.CustomPacketPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/CustomPacketPayload.java:14
  • Modifiers: ``
  • Return: CustomPacketPayload.Type<? extends CustomPacketPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ CustomPacketPayload

ทำงานยังไง

ไม่มี body ใน source declaration นี้

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

CustomPacketPayload instance = ...;
CustomPacketPayload.Type<? extends CustomPacketPayload> result = instance.type();

DiscardedPayload

  • Full name: net.minecraft.network.protocol.common.custom.DiscardedPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/DiscardedPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.DiscardedPayload#codec(ResourceLocation,int)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/DiscardedPayload.java:8
  • Modifiers: public static
  • Return: StreamCodec<T, DiscardedPayload>

คืออะไร

ดำเนินการ codec ตาม implementation ของ DiscardedPayload

ทำงานยังไง

ตรวจเงื่อนไขด้วย if. เรียกต่อ: readableBytes(), skipBytes(). สร้างออบเจ็กต์: DiscardedPayload, IllegalArgumentException. มีจุด return อย่างน้อย 2 จุด.

Parameters

  • ResourceLocation resourceLocation
  • int i

ตัวอย่างใช้งาน

ResourceLocation resourceLocation = ...;
StreamCodec<T, DiscardedPayload> result = DiscardedPayload.codec(resourceLocation, 0);

net.minecraft.network.protocol.common.custom.DiscardedPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/DiscardedPayload.java:20
  • Modifiers: public
  • Return: CustomPacketPayload.Type<DiscardedPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ DiscardedPayload

ทำงานยังไง

สร้างออบเจ็กต์: CustomPacketPayload.Type<>. คืนค่า: new CustomPacketPayload.Type<>(this.id).

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

DiscardedPayload instance = ...;
CustomPacketPayload.Type<DiscardedPayload> result = instance.type();

GameEventDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.GameEventDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/GameEventDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.GameEventDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/GameEventDebugPayload.java:25
  • Modifiers: public
  • Return: CustomPacketPayload.Type<GameEventDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ GameEventDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

GameEventDebugPayload instance = ...;
CustomPacketPayload.Type<GameEventDebugPayload> result = instance.type();

GameEventListenerDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.GameEventListenerDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/GameEventListenerDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.GameEventListenerDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/GameEventListenerDebugPayload.java:18
  • Modifiers: public
  • Return: CustomPacketPayload.Type<GameEventListenerDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ GameEventListenerDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

GameEventListenerDebugPayload instance = ...;
CustomPacketPayload.Type<GameEventListenerDebugPayload> result = instance.type();

GameTestAddMarkerDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.GameTestAddMarkerDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/GameTestAddMarkerDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.GameTestAddMarkerDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/GameTestAddMarkerDebugPayload.java:24
  • Modifiers: public
  • Return: CustomPacketPayload.Type<GameTestAddMarkerDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ GameTestAddMarkerDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

GameTestAddMarkerDebugPayload instance = ...;
CustomPacketPayload.Type<GameTestAddMarkerDebugPayload> result = instance.type();

GameTestClearMarkersDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.GameTestClearMarkersDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/GameTestClearMarkersDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.GameTestClearMarkersDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/GameTestClearMarkersDebugPayload.java:19
  • Modifiers: public
  • Return: CustomPacketPayload.Type<GameTestClearMarkersDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ GameTestClearMarkersDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

GameTestClearMarkersDebugPayload instance = ...;
CustomPacketPayload.Type<GameTestClearMarkersDebugPayload> result = instance.type();

GoalDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.GoalDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/GoalDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.GoalDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/GoalDebugPayload.java:22
  • Modifiers: public
  • Return: CustomPacketPayload.Type<GoalDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ GoalDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

GoalDebugPayload instance = ...;
CustomPacketPayload.Type<GoalDebugPayload> result = instance.type();

GoalDebugPayload$DebugGoal

  • Full name: net.minecraft.network.protocol.common.custom.GoalDebugPayload$DebugGoal
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/GoalDebugPayload.java
  • Type: record
  • Modifiers: public

net.minecraft.network.protocol.common.custom.GoalDebugPayload$DebugGoal#DebugGoal(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/GoalDebugPayload.java:28
  • Modifiers: public
  • Kind: constructor

คืออะไร

สร้างออบเจ็กต์ GoalDebugPayload.DebugGoal ด้วยพารามิเตอร์ที่ระบุ

ทำงานยังไง

เรียกต่อ: readInt(), readBoolean(), readUtf().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

FriendlyByteBuf friendlyByteBuf = ...;
GoalDebugPayload.DebugGoal instance = new GoalDebugPayload.DebugGoal(friendlyByteBuf);

net.minecraft.network.protocol.common.custom.GoalDebugPayload$DebugGoal#write(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/GoalDebugPayload.java:32
  • Modifiers: public
  • Return: void

คืออะไร

เขียน write

ทำงานยังไง

เรียกต่อ: writeInt(), writeBoolean(), writeUtf().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

GoalDebugPayload.DebugGoal instance = ...;
FriendlyByteBuf friendlyByteBuf = ...;
instance.write(friendlyByteBuf);

HiveDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.HiveDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/HiveDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.HiveDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/HiveDebugPayload.java:19
  • Modifiers: public
  • Return: CustomPacketPayload.Type<HiveDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ HiveDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

HiveDebugPayload instance = ...;
CustomPacketPayload.Type<HiveDebugPayload> result = instance.type();

HiveDebugPayload$HiveInfo

  • Full name: net.minecraft.network.protocol.common.custom.HiveDebugPayload$HiveInfo
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/HiveDebugPayload.java
  • Type: record
  • Modifiers: public

net.minecraft.network.protocol.common.custom.HiveDebugPayload$HiveInfo#HiveInfo(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/HiveDebugPayload.java:25
  • Modifiers: public
  • Kind: constructor

คืออะไร

สร้างออบเจ็กต์ HiveDebugPayload.HiveInfo ด้วยพารามิเตอร์ที่ระบุ

ทำงานยังไง

เรียกต่อ: readBlockPos(), readUtf(), readInt(), readBoolean().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

FriendlyByteBuf friendlyByteBuf = ...;
HiveDebugPayload.HiveInfo instance = new HiveDebugPayload.HiveInfo(friendlyByteBuf);

net.minecraft.network.protocol.common.custom.HiveDebugPayload$HiveInfo#write(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/HiveDebugPayload.java:29
  • Modifiers: public
  • Return: void

คืออะไร

เขียน write

ทำงานยังไง

เรียกต่อ: writeBlockPos(), writeUtf(), writeInt(), writeBoolean().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

HiveDebugPayload.HiveInfo instance = ...;
FriendlyByteBuf friendlyByteBuf = ...;
instance.write(friendlyByteBuf);

NeighborUpdatesDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.NeighborUpdatesDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/NeighborUpdatesDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.NeighborUpdatesDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/NeighborUpdatesDebugPayload.java:22
  • Modifiers: public
  • Return: CustomPacketPayload.Type<NeighborUpdatesDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ NeighborUpdatesDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

NeighborUpdatesDebugPayload instance = ...;
CustomPacketPayload.Type<NeighborUpdatesDebugPayload> result = instance.type();

PathfindingDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.PathfindingDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/PathfindingDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.PathfindingDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/PathfindingDebugPayload.java:23
  • Modifiers: public
  • Return: CustomPacketPayload.Type<PathfindingDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ PathfindingDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

PathfindingDebugPayload instance = ...;
CustomPacketPayload.Type<PathfindingDebugPayload> result = instance.type();

PoiAddedDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.PoiAddedDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/PoiAddedDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.PoiAddedDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/PoiAddedDebugPayload.java:23
  • Modifiers: public
  • Return: CustomPacketPayload.Type<PoiAddedDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ PoiAddedDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

PoiAddedDebugPayload instance = ...;
CustomPacketPayload.Type<PoiAddedDebugPayload> result = instance.type();

PoiRemovedDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.PoiRemovedDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/PoiRemovedDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.PoiRemovedDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/PoiRemovedDebugPayload.java:21
  • Modifiers: public
  • Return: CustomPacketPayload.Type<PoiRemovedDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ PoiRemovedDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

PoiRemovedDebugPayload instance = ...;
CustomPacketPayload.Type<PoiRemovedDebugPayload> result = instance.type();

PoiTicketCountDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.PoiTicketCountDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/PoiTicketCountDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.PoiTicketCountDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/PoiTicketCountDebugPayload.java:22
  • Modifiers: public
  • Return: CustomPacketPayload.Type<PoiTicketCountDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ PoiTicketCountDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

PoiTicketCountDebugPayload instance = ...;
CustomPacketPayload.Type<PoiTicketCountDebugPayload> result = instance.type();

RaidsDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.RaidsDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/RaidsDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.RaidsDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/RaidsDebugPayload.java:20
  • Modifiers: public
  • Return: CustomPacketPayload.Type<RaidsDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ RaidsDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

RaidsDebugPayload instance = ...;
CustomPacketPayload.Type<RaidsDebugPayload> result = instance.type();

RedstoneWireOrientationsDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.RedstoneWireOrientationsDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/RedstoneWireOrientationsDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.RedstoneWireOrientationsDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/RedstoneWireOrientationsDebugPayload.java:21
  • Modifiers: public
  • Return: CustomPacketPayload.Type<RedstoneWireOrientationsDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ RedstoneWireOrientationsDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

RedstoneWireOrientationsDebugPayload instance = ...;
CustomPacketPayload.Type<RedstoneWireOrientationsDebugPayload> result = instance.type();

StructuresDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.StructuresDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/StructuresDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.StructuresDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/StructuresDebugPayload.java:28
  • Modifiers: public
  • Return: CustomPacketPayload.Type<StructuresDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ StructuresDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

StructuresDebugPayload instance = ...;
CustomPacketPayload.Type<StructuresDebugPayload> result = instance.type();

StructuresDebugPayload$PieceInfo

  • Full name: net.minecraft.network.protocol.common.custom.StructuresDebugPayload$PieceInfo
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/StructuresDebugPayload.java
  • Type: record
  • Modifiers: public

net.minecraft.network.protocol.common.custom.StructuresDebugPayload$PieceInfo#PieceInfo(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/StructuresDebugPayload.java:54
  • Modifiers: public
  • Kind: constructor

คืออะไร

สร้างออบเจ็กต์ StructuresDebugPayload.PieceInfo ด้วยพารามิเตอร์ที่ระบุ

ทำงานยังไง

เรียกต่อ: readBoundingBox(), readBoolean().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

FriendlyByteBuf friendlyByteBuf = ...;
StructuresDebugPayload.PieceInfo instance = new StructuresDebugPayload.PieceInfo(friendlyByteBuf);

net.minecraft.network.protocol.common.custom.StructuresDebugPayload$PieceInfo#write(FriendlyByteBuf)

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/StructuresDebugPayload.java:58
  • Modifiers: public
  • Return: void

คืออะไร

เขียน write

ทำงานยังไง

เรียกต่อ: writeBoundingBox(), writeBoolean().

Parameters

  • FriendlyByteBuf friendlyByteBuf

ตัวอย่างใช้งาน

StructuresDebugPayload.PieceInfo instance = ...;
FriendlyByteBuf friendlyByteBuf = ...;
instance.write(friendlyByteBuf);

VillageSectionsDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.VillageSectionsDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/VillageSectionsDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.VillageSectionsDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/VillageSectionsDebugPayload.java:26
  • Modifiers: public
  • Return: CustomPacketPayload.Type<VillageSectionsDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ VillageSectionsDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

VillageSectionsDebugPayload instance = ...;
CustomPacketPayload.Type<VillageSectionsDebugPayload> result = instance.type();

WorldGenAttemptDebugPayload

  • Full name: net.minecraft.network.protocol.common.custom.WorldGenAttemptDebugPayload
  • Package: net.minecraft.network.protocol.common.custom
  • Source: commonnet/minecraft/network/protocol/common/custom/WorldGenAttemptDebugPayload.java
  • Type: record
  • Modifiers: public
  • Implements: CustomPacketPayload

net.minecraft.network.protocol.common.custom.WorldGenAttemptDebugPayload#type()

  • Origin: common
  • Source: net/minecraft/network/protocol/common/custom/WorldGenAttemptDebugPayload.java:33
  • Modifiers: public
  • Return: CustomPacketPayload.Type<WorldGenAttemptDebugPayload>

คืออะไร

ดำเนินการ type ตาม implementation ของ WorldGenAttemptDebugPayload

ทำงานยังไง

คืนค่า: TYPE.

Parameters

  • ไม่มี

ตัวอย่างใช้งาน

WorldGenAttemptDebugPayload instance = ...;
CustomPacketPayload.Type<WorldGenAttemptDebugPayload> result = instance.type();