The diagram below shows the cross-references between the various Client-side vanilla classes. For example:
Minecraft and RenderManager are designed as Singletons (there is only ever one instance of the Class). They can be accessed by
- Minecraft.thePlayer contains an EntityClientPlayerMP.
- Entity.worldObj refers to WorldClient
- WorldClient.loadedTileEntityList contains a collection of TileEntity
Minecraft and RenderManager are designed as Singletons (there is only ever one instance of the Class). They can be accessed by
- Minecraft.getMinecraft()
- RenderManager.instance
Tidak ada komentar:
Posting Komentar