接口 IForgeLevel
- 所有超级接口:
ICapabilityProvider
- 所有已知实现类:
ClientLevel
,Level
,ServerLevel
-
方法概要
修饰符和类型方法说明double
The maximum radius to scan for entities when trying to check bounding boxes.default Collection
<PartEntity<?>> All part entities in this world.double
increaseMaxEntityRadius
(double value) Increases the max entity radius, this is safe to call with any value.从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
-
方法详细资料
-
getMaxEntityRadius
double getMaxEntityRadius()The maximum radius to scan for entities when trying to check bounding boxes. Vanilla's default is 2.0D But mods that add larger entities may increase this. -
increaseMaxEntityRadius
double increaseMaxEntityRadius(double value) Increases the max entity radius, this is safe to call with any value. The setter will verify the input value is larger then the current setting.- 参数:
value
- New max radius to set.- 返回:
- The new max radius
-
getPartEntities
All part entities in this world. Used when collecting entities in an AABB to fix parts being ignored whose parent entity is in a chunk that does not intersect with the AABB.
-