类 DebugPackets
java.lang.Object
net.minecraft.network.protocol.game.DebugPackets
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getMemoryDescriptions
(LivingEntity p_179496_, long p_179497_) private static String
getShortDescription
(ServerLevel pLevel, Object pObject) static void
sendBeeInfo
(Bee pBee) static void
sendEntityBrain
(LivingEntity pLivingEntity) static void
sendGameEventInfo
(Level pLevel, GameEvent pGameEvent, Vec3 pPos) static void
sendGameEventListenerInfo
(Level pLevel, GameEventListener pGameEventListener) static void
sendGameTestAddMarker
(ServerLevel pLevel, BlockPos pPos, String pText, int pColor, int pLifetimeMillis) static void
sendGameTestClearPacket
(ServerLevel pLevel) static void
sendGoalSelector
(Level pLevel, Mob pMob, GoalSelector pGoalSelector) static void
sendHiveInfo
(Level pLevel, BlockPos pPos, BlockState pBlockState, BeehiveBlockEntity pHiveBlockEntity) static void
sendNeighborsUpdatePacket
(Level pLevel, BlockPos pPos) private static void
sendPacketToAllPlayers
(ServerLevel pLevel, FriendlyByteBuf pBuffer, ResourceLocation pIdentifier) static void
sendPathFindingPacket
(Level pLevel, Mob pMob, Path pPath, float pMaxDistanceToWaypoint) static void
sendPoiAddedPacket
(ServerLevel pLevel, BlockPos pPos) static void
sendPoiPacketsForChunk
(ServerLevel pLevel, ChunkPos pChunkPos) static void
sendPoiRemovedPacket
(ServerLevel pLevel, BlockPos pPos) static void
sendPoiTicketCountPacket
(ServerLevel pLevel, BlockPos pPos) static void
sendRaids
(ServerLevel pLevel, Collection<Raid> pRaids) static void
sendStructurePacket
(WorldGenLevel pLevel, StructureStart pStructureStart) private static void
sendVillageSectionsPacket
(ServerLevel pLevel, BlockPos pPos) private static void
writeBrain
(LivingEntity pLivingEntity, FriendlyByteBuf pBuffer)
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
构造器详细资料
-
DebugPackets
public DebugPackets()
-
-
方法详细资料
-
sendGameTestAddMarker
public static void sendGameTestAddMarker(ServerLevel pLevel, BlockPos pPos, String pText, int pColor, int pLifetimeMillis) -
sendGameTestClearPacket
-
sendPoiPacketsForChunk
-
sendPoiAddedPacket
-
sendPoiRemovedPacket
-
sendPoiTicketCountPacket
-
sendVillageSectionsPacket
-
sendPathFindingPacket
-
sendNeighborsUpdatePacket
-
sendStructurePacket
-
sendGoalSelector
-
sendRaids
-
sendEntityBrain
-
sendBeeInfo
-
sendGameEventInfo
-
sendGameEventListenerInfo
-
sendHiveInfo
public static void sendHiveInfo(Level pLevel, BlockPos pPos, BlockState pBlockState, BeehiveBlockEntity pHiveBlockEntity) -
writeBrain
-
getMemoryDescriptions
-
getShortDescription
-
sendPacketToAllPlayers
private static void sendPacketToAllPlayers(ServerLevel pLevel, FriendlyByteBuf pBuffer, ResourceLocation pIdentifier)
-