-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev-doc.txt
82 lines (64 loc) · 2.63 KB
/
dev-doc.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# 只能用np++打开, 用其他编辑器排版会乱
1.7.10/1.12.2 1.16.5 1.18.2
包名规则:
net.minecraft.world. net.minecraft.world.server. net.minecraft.server.level.
net.minecraft.block. net.minecraft.block. net.minecraft.world.level.block.
net.minecraft.item. net.minecraft.item. net.minecraft.world.item.
net.minecraft.entity. net.minecraft.entity. net.minecraft.world.entity.
net.minecraft.nbt. net.minecraft.nbt. net.minecraft.nbt. // 未改动
类名规则:
// 主要
WorldServer ServerWorld ServerLevel
World World Level
WorldInfo ServerWorldInfo ServerLevelData
ChunkProviderServer ServerChunkProvider ServerChunkCache
Chunk Chunk LevelChunk
ChunkPos ChunkPos ChunkPos // 未改动
EntityPlayerMP ServerPlayerEntity ServerPlayer
PlayerList PlayerList PlayerList // 未改动
ResourceLocation ResourceLocation ResourceLocation // 未改动
// 方块和物品
BlockGrass GrassBlock GrassBlock
Block Block Block // 未改动
ItemAir AirItem AirItem
Item Item Item // 未改动
ItemBlock BlockItem BlockItem
// 动物
EntitySheep SheepEntity Sheep
EntityAnimal AnimalEntity Animal
// 怪物
EntityZombie ZombieEntity Zombie
EntityMob MonsterEntity Monster
// 生物
EntityAgeable AgeableEntity AgeableMob
EntityCreature CreatureEntity PathfinderMob
EntityLiving LivingEntity LivingEntity
// 其他实体
EntityXPOrb ExperienceOrbEntity 未找到
EntityItem ItemEntity ItemEntity
EntityFallingBlock FallingBlockEntity FallingBlockEntity
// 基础实体
Entity Entity Entity // 未改动
// 实体AI
EntityAISwimming SwimGoal RandomSwimmingGoal继承RandomStrollGoal // 1.18.2猜测
UseItemGoal UseItemGoal UseItemGoal
EntityAIBase Goal Goal
// 网络
NetHandlerLoginServer ServerLoginNetHandler ServerLoginPacketListenerImpl
INetHandlerLoginServer IServerLoginNetHandler ServerLoginPacketListener
NetHandlerPlayServer ServerPlayNetHandler ServerGamePacketListenerImpl
INetHandlerPlayServer IServerPlayNetHandler ServerGamePacketListener
INetHandler INetHandler ServerPacketListener继承PacketListener
// 网络数据包
SPacketChat SChatPacket ClientboundChatPacket
CPacketChatMessage CChatMessagePacket ServerboundChatPacket
// NBT
NBTTagCompound CompoundNBT CompoundTag
NBTTagInt IntNBT IntTag
NBTPrimitive NumberNBT NumericTag
NBTBase INBT Tag
变量:
world level level // Entity
worldInfo levelData levelData // World
chunkProvider chunkSource chunkSource // World
dimension(int) dimension(RegistryKey) dimension(ResourceKey) // World