接口的使用
net.minecraft.block.AbstractBlock.TypedContextPredicate
-
使用AbstractBlock.TypedContextPredicate的程序包 程序包 说明 net.minecraft.block -
-
net.minecraft.block中AbstractBlock.TypedContextPredicate的使用
声明为AbstractBlock.TypedContextPredicate的net.minecraft.block中的字段 修饰符和类型 字段 说明 private AbstractBlock.TypedContextPredicate<EntityType<?>>AbstractBlock.Settings. allowsSpawningPredicate参数类型为AbstractBlock.TypedContextPredicate的net.minecraft.block中的方法 修饰符和类型 方法 说明 AbstractBlock.SettingsAbstractBlock.Settings. allowsSpawning(AbstractBlock.TypedContextPredicate<EntityType<?>> predicate)Specifies logic that calculates whether an entity can spawn on a block.
-