All Classes and Interfaces

Class
Description
 
 
 
 
AbstractBehavior包含一个BehaviorState属性以及它的Getter/Setter
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
 
 
全部行为评估通过才执行的一个评估器.
 
 
 
包含一个实体动画的信息的记录类
用于AnimateEntityPacket网络包
 
 
 
 
 
 
 
 
 
 
Describes an API element.
Enum constant for API definition.
Enum constant for API usage.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
单个的行为对象
包含一个执行器和一个评估器,行为对象委托了它们的方法
标准行为组实现
 
表示一个行为的状态
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
方块创造栏分类.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
http://minecraft.gamepedia.com/End_Rod
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
表达一个容器的接口。
An interface describes a container.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
表达一个能被命名的事物的接口。
An interface describes an object that can be named.
This entity allows to manipulate the save state of a nether reactor core, but changing it will cause no visual change.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
Use BlockPistonEvent
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Implements the main logic of all nether vines.
Properties and behaviour definitions of the BlockID.TWISTING_VINES block.
Properties and behaviour definitions of the BlockID.WEEPING_VINES block.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A BufferedRandomAccessFile is like a RandomAccessFile, but it uses a private buffer so that most operations do not require a disk access.
Project nukkit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
洞穴生物群系 eq: 繁茂洞穴
 
Server-bound packet to change the properties of a mob.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ClientChainData is a container of chain data sent from clients.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
能监听命令执行的类实现的接口。
An interface what can be implemented by classes which listens command executing.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
能发送命令的对象。
Who sends commands.
 
 
 
Represents a 16 direction compass rose.
 
 
 
 
 
 
 
 
 
 
 
并行路径查找抽象类
实现了此类的寻路器应当提供完整的异步寻路支持
PNX中未使用此寻路方案,但保留以提供API
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
核心使用到的记忆类型枚举
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
An enum to specify the type of spawning
 
An enum to specify the cause of the change in power
 
 
 
 
 
继承这个类实现自定义方块,重写Block中的方法控制方块属性
CustomBlockDefinition用于获得发送给客户端的方块行为包数据。CustomBlockDefinition.Builder中提供的方法都是控制发送给客户端数据,如果需要控制服务端部分行为,请覆写Block中的方法。
 
 
 
 
 
 
 
CustomBlockDefinition用于获得发送给客户端的物品行为包数据。CustomItemDefinition.SimpleBuilder中提供的方法都是控制发送给客户端数据,如果需要控制服务端部分行为,请覆写Item中的方法。
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Describe the deprecation with more details.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
计分板显示槽位枚举
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
用于未实现AI的实体,作为占位符使用
Deprecated.
 
当Timings被完全关闭时使用的占位对象
 
 
 
 
An enchantment that can be to applied to an item.
How rare an enchantment is.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Defines the interface for energy holders.
 
定义一个能源种类 Define an energy type.
 
 
 
 
 
 
存放一些AI框架的全局参数
 
两栖动物 (eg: turtle)
两栖怪物 (eg: 溺尸)
实体可生气
 
 
 
 
 
 
 
该方法将被异步并行调用,用于实体进行tick无关的操作
 
 
 
 
 
 
 
 
代表可以攻击其他实体的实体.
可坐下实体接口
 
 
 
 
 
 
 
 
封装了一些涉及控制器的方法.
 
实体生物
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
空中飞行动物
空中飞行怪物
 
 
 
 
 
 
 
实体可通过喂食食物被治疗
 
 
 
 
 
EntityIntelligent抽象了一个具有行为组IBehaviorGroup(也就是具有AI)的实体
用来提供给插件基础,以方便的使用带有智能的EntityHuman
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
实体移动到主人身边.(只对实现了接口 EntityTamable 的实体有效)
 
An entity which can be named by name tags.
 
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
实体创建的时候会被调用
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
水中游泳动物
水中游泳怪物
 
EntityOwnable接口的更名实现 实现这个接口的实体可以被驯服
Deprecated.
 
 
 
 
 
 
 
 
 
Deprecated.
 
陆地行走动物
陆地行走怪物
 
 
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
 
 
 
 
描述服务器中可能发生的事情的类。
Describes things that happens in the server.
 
 
定义一个事件的处理器的注解。
Annotation that defines a handler.
 
 
Project nukkit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
这个Inventory是一个hack实现,用来实现EntityIntelligentHuman的背包实现,它无法被open 和 close,因为虚拟人类不会自己打开物品栏
这个Inventory是一个hack实现,用来实现EntityIntelligentHuman的背包实现,它无法被open 和 close,因为虚拟人类不会自己打开物品栏
这个Inventory是一个hack实现,用来实现EntityIntelligentHuman的背包实现,它无法被open 和 close,因为虚拟人类不会自己打开物品栏
 
Simple, fast byte-array output stream that exposes the backing array.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
FreezableArrayManager负责管理所有AutoFreezable的ByteArrayWrapper
这包括计算温度,冻结和解冻
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
Deprecated.
 
 
 
 
 
 
 
此接口抽象了一个行为对象,作为行为组IBehaviorGroup的组成部分.
此接口抽象了一个行为评估器
决定是否激活与其绑定的执行器
行为执行器
在实体上执行具体的行为
对于每个实例化的实体,此对象应只会实例化一次,且一直伴随实体不会改变
行为组是一个基本的、独立的AI单元 它由若干个(核心)行为IBehavior、控制器IController、传感器ISensor以及一个寻路器IRouteFinder和记忆存储器IMemoryStorage组成 注:核心行为指的是不会被行为优先级影响的行为,其激活状态只取决于其自身的评估器
 
 
 
 
 
 
控制器是用来控制实体的行为的,比如移动、跳跃、攻击等等的具体实现。
对于不同实体,可以提供不同的控制器,以实现上述行为的特殊实现。
命名空间标识符
 
 
记忆存储器
 
ImmutableCollection is used to mark a collection as immutable.
 
 
 
 
 
 
 
 
 
 
 
 
描述一个可以被中断的线程的接口。
An interface to describe a thread that can be interrupted.
 
 
 
 
 
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
用来描述一个玩家和获得这个玩家相应信息的接口。
An interface to describe a player and get its information.
坐标评估器用于寻路器评估坐标
通过编写特定的坐标评估器,可以自定义寻路器的寻路策略
此接口抽象了一个寻路器
计分板对象 可被发送到任何实现了IScoreboardViewer接口的对象上
计分板上的单个行
IScorer和分数组成
管理,储存一批计分板
此接口面向/scoreboard命令,若只是想要显示信息,请直接操作scoreboard对象
计分板存储器接口
计分板观察者 (eg: Player) 此接口用于抽象服务端到客户端的协议层方法
计分板追踪对象
此接口抽象了一个传感器
传感器用于搜集环境信息并向记忆存储器IMemoryStorage写入一个记忆MemoryType
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
控制自定义物品在创造栏的大分类,例如建材栏,材料栏
可选值:1 Unknown 2 nature 3 equipment 4 items
 
 
继承这个类实现自定义物品,重写Item中的方法控制方块属性
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Items that implement this interface can take damage and break.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
所有的监听事件的类必须实现的接口。
An interface implemented by all classes that handles events.
ListTag<T extends Tag>
 
 
 
 
 
提供部分实用方法封装
Provide some utility method encapsulation
 
 
 
 
 
 
实体看向最近携带食物的玩家
此执行器与 LookAtTargetExecutor 最大的一点不同是,它会设置实体的DATA_FLAG_INTERESTED为true
 
处理实体Pitch/Yaw/HeadYaw
 
 
 
 
 
 
 
 
用于将方块的face(面)映射到实际的材质实例,并且设置渲染方法和参数
渲染方法枚举
 
 
 
 
 
通用近战攻击执行器.
 
 
记忆存储器标准实现
表示一个特定的Memory类型
 
 
 
 
 
 
 
 
 
 
 
bStats collects some data for plugin authors.
Represents a custom advanced bar chart.
Represents a custom advanced pie.
Represents a custom chart.
Represents a custom drill down pie.
Represents a custom multi line chart.
Represents a custom simple bar chart.
Represents a custom simple pie.
Represents a custom single line chart.
 
 
Helper class of Minecart variants
An enum containing all valid vanilla Minecraft items.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
一个抽象类代表着这个评估器会评估多个行为;
 
 
 
 
 
 
 
 
 
 
A Named Binary Tag library for Nukkit Project
 
 
 
用来搜索最近的目标实体,构造函数中接受一个目标函数Function<T, Boolean> target的Set,用于实体检测,最终结果保存到List<MemoryType<Entity>> memories中.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
寻路节点
 
 
 
 
 
 
 
 
 
 
 
Nukkit's terrain generator Originally adapted from the PocketMine-MP generator by NycuRO and CreeperFace Mostly rewritten by DaPorkchop_
 
 
 
 
 
Nukkit启动类,包含main函数。
The launcher class of Nukkit, including the main function.
 
 
 
 
 
 
 
This class is provided as an easy way to handle scheduling tasks.
NumberTag<T extends Number>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
描述一个不在线的玩家的类。
Describes an offline player.
Offset代表RenderOffsets中的偏移量对象
 
 
K.jpg's OpenSimplex 2, smooth variant ("SuperSimplex")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The type Permutation builder.
 
用于控制自定义方块的变化特征,可用于实现条件渲染,部分渲染等功能。一个方块可以有多个变化特征。
 
 
 
A multi-threaded version of GZIPOutputStream.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
This event is called asynchronously
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
An event that is called when player catches a fish
 
 
 
 
 
 
 
 
 
 
 
 
 
call when a player moves wrongly
0-8 物品栏
9-35 背包
36-39 盔甲栏
想获取副手库存请用PlayerOffhandInventory
Called when a player eats something
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Called when the player logs in, before things have been set up
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Fired when a player change anything in the item name in an open Anvil inventory window.
 
这个Inventory并不代表玩家的背包,若想获取玩家背包请使用PlayerInventory
0是cursorInventory
1-2是ANVIL
16-17是GRINDSTONE
28-31是craftingGrid没有结果格
32-40是bigCraftingGrid没有结果格
 
 
 
所有Nukkit插件必须实现的接口。
An interface what must be implemented by all Nukkit plugins.
一般的Nukkit插件需要继承的类。
A class to be extended by a normal Nukkit plugin.
 
 
描述一个Nukkit插件的类。
Describes a Nukkit plugin.
 
 
 
 
 
描述一个插件加载器的接口。
An interface to describe a plugin loader.
描述一个Nukkit插件加载顺序的类。
Describes a Nukkit plugin load order.
 
 
 
插件创建的任务。
Task that created by a plugin.
Deprecated.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A position tracking db service.
Stores a sequential range of PositionTracking objects in a file.
 
 
 
 
 
Indicates that the annotated element works differently in PowerNukkit environment and may cause issues or unexpected behaviour when used in a normal NukkitX server without PowerNukkit's patches and features.
 
Indicates that the annotated element is only available in PowerNukkit environment and will cause issues when used in a normal NukkitX server without PowerNukkit's patches and features.
 
Indicates that the annotated element works differently in PowerNukkit environment and may cause issues or unexpected behaviour when used in a normal NukkitX server without PowerNukkitX's patches and features.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
INTERNAL helper class of railway
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Implementation of Source RCON protocol.
A data structure to hold sender, request ID and command itself.
A data structure representing an RCON packet.
Thread that performs all RCON network work.
 
 
 
 
标注此物品栏拥有者的物品栏作为合成用途,常见于机器,如熔炉等。
This inventory holder's inventory is used for recipe, usually in machines, such as furnaces, etc.
 
Interface, all redstone components implement, containing redstone related methods.
 
 
 
 
 
 
 
Represents an RCON command sender.
Called when an RCON command is executed.
 
 
 
RenderOffsets是设置 render_offsets 项目组件。可以设置参数来偏移物品的在不同视角下的呈现方式。
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
寻路管理器,所有的寻路任务都应该提交到这个管理器中,管理器负责调度寻路任务,实现资源利用最大化
 
 
 
 
 
 
 
Responsible for mapping item full ids, item network ids and item namespaced ids between each other.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
请注意,若计分板不存在于 Server::scoreboardManager中,则此事件不会被调用
 
 
 
 
 
 
追踪对象类型
除了INVALID,其他枚举都有对应IScorer的实现类
对于插件来说,使用FAKE类型即可
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
能成为服务器管理员(OP)的对象。
Who can be an operator(OP).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
声明此操作将会解冻可冻结数组
 
 
 
 
 
 
 
 
 
 
 
 
 
 
SimpleConfig for Nukkit added 11/02/2016 by fromgate
 
 
 
标准A*寻路实现
非异步的路径查找抽象类
在PowerNukkitX的生物AI架构中,不同实体的路径查找是并行的而不是异步的
所以说我们并不需要异步路径查找
务必注意,三维标准A*寻路的代价十分高昂(比原版的洪水填充低得多),切忌将最大寻路深度设置得太大! TODO: 用BA*、JPS或者势能场寻路代替
 
 
 
 
 
 
 
Indicates which version added the annotated element.
 
 
 
 
使有主人的生物在主人睡觉时睡到主人床上
只能在实现了接口 EntityTamable 的实体上使用
需要保证实体的getOwner()方法返回非空
这个抽象类代表较为细长的投射物实体(例如弓箭,三叉戟),它通过重写Entity.move(double, double, double)方法实现这些实体较为准确的碰撞箱计算。
 
 
 
 
 
 
 
 
 
 
 
 
 
 
SortedList是List的一个有序实现,内部是用平衡二叉树实现的。
追踪目标显示顺序排序准则,客户端会依照准则根据分数排序所有追踪对象
 
 
 
处理飞行/游泳实体运动
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Determines which void mode to draw for structure blocks.
 
 
 
 
 
 
 
用于游泳实体的坐标评估器
 
 
 
 
 
 
 
 
 
表达一个任务的类。
A class that describes a task.
 
 
 
 
 
Terra生成器平台实现类
请注意我们通常不直接使用此类而是使用TerraGeneratorWrapper
其每个实例都会持有一个相同的TerraGenerator实例
这样做的原因是因为nk底层会在每个线程新建一个生成器实例并行化生成区块时,而Terra本身就是并行的

Terra generator platform implementation class
Please note that we usually do not use this class directly but use TerraGeneratorWrapper
Each of its instances will hold an identical instance of TerraGenerator
The reason for this is because the bottom layer of nk will create a new generator instance for each thread to generate blocks in parallel, and Terra itself is parallel
用于nk底层的Terra生成器代理类
这样做的具体原因详见TerraGenerator

Terra generator wrapper class for nk bottom layer
The specific reasons for this are detailed in TerraGenerator
 
测试命令基类
 
 
 
 
 
 
All supported formatting values for chat and console.
 
 
 
 
 
 
 
 
实现此接口的区块应该拥有一个能够并行访问的方块缓存,通常每tick都会调用clear。
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Represents a function that accepts three arguments where the last is int and produces an int result.
Represents a function that accepts three arguments where the last two are int and produces an int result.
Represents a function that accepts three arguments mixing F, int and long and produces a long result.
Represents a function that accepts three arguments where the last is long and produces a long result.
 
 
 
 
 
 
 
 
 
Represents a function that accepts three arguments and produces a result.
 
 
 
Indicates that the number may be negative in raw form but must be treated as an unsigned value by considering the sign bit as part of the number.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Tool class for VarInt or VarLong operations.
 
 
 
 
 
 
 
 
Is called when an entity damages a vehicle
Is called when an entity takes damage
Is called when an entity destroyed a vehicle
Is called when an vehicle gets destroyed
 
 
 
 
 
 
 
振动监听器
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
处理陆地行走实体运动
用于标准陆地行走实体的方块评估器
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
A thread-safe map with weak keys.
 
A WeakConcurrentMap where stale entries are removed as a side effect of interacting with this map.
A thread-safe set with weak values.
Determines the cleaning format.
 
 
 
由多个行为IBehavior组成的组(注意和行为组IBehaviorGroup区分)
调用方法WeightedMultiBehavior.execute(EntityIntelligent)前,必须调用此对象的评估函数以确认激活的是哪个行为
在评估时,会评估所有包含的子行为
筛选出返回成功的行为后,会选取最高优先级的那一组
如果到这一步依然存在多个行为,则会根据行为的IBehavior.getWeight()方法的返回值随机选取其中一个作为执行行为
 
 
狼执行攻击,会带有狼的动画,以及攻击过程中狼还会看向携带食物的玩家.
搜索狼最近携带食物的玩家,与NearestFeedingPlayerSensor相比它特判了Bone.