类的使用
org.bukkit.material.MaterialData
程序包
说明
Bukkit API的顶级程序包, 包含通用的API类和接口.
用于操作在
世界
内的三位像素(方块),包括一些特定的状态.为在
世界
内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等.简化
世界
生成实现的类.参与操作玩家物品栏和物品交互的类.
代表每种体素(意义可参考维基百科或百度百科相关条目,即物品被抽象为体素)的种类和状态.
-
org.bukkit中MaterialData的使用
修饰符和类型方法说明UnsafeValues.fromLegacy
(MaterialData material) 已过时。UnsafeValues.fromLegacy
(MaterialData material, boolean itemPriority) 已过时。World.spawnFallingBlock
(@NotNull Location location, @NotNull MaterialData data) -
org.bukkit.block中MaterialData的使用
-
org.bukkit.entity中MaterialData的使用
修饰符和类型方法说明Enderman.getCarriedMaterial()
获取末影人手持的方块的id和数据.Minecart.getDisplayBlock()
获取展示在矿车中的方块.修饰符和类型方法说明void
Enderman.setCarriedMaterial
(@NotNull MaterialData material) 设置末影人手持的方块的id和数据.void
Minecart.setDisplayBlock
(@Nullable MaterialData material) 设置示在矿车中的方块. -
org.bukkit.generator中MaterialData的使用
修饰符和类型方法说明ChunkGenerator.ChunkData.getTypeAndData
(int x, int y, int z) Get the type and data of the block at x, y, z.修饰符和类型方法说明void
ChunkGenerator.ChunkData.setBlock
(int x, int y, int z, @NotNull MaterialData material) Set the block at x,y,z in the chunk data to material.void
ChunkGenerator.ChunkData.setRegion
(int xMin, int yMin, int zMin, int xMax, int yMax, int zMax, @NotNull MaterialData material) Set a region of this chunk from xMin, yMin, zMin (inclusive) to xMax, yMax, zMax (exclusive) to material. -
org.bukkit.inventory中MaterialData的使用
修饰符和类型方法说明ShapelessRecipe.addIngredient
(int count, @NotNull MaterialData ingredient) Adds multiples of the specified ingredient.ShapelessRecipe.addIngredient
(@NotNull MaterialData ingredient) Adds the specified ingredient.ShapelessRecipe.removeIngredient
(int count, @NotNull MaterialData ingredient) Removes multiple instances of an ingredient from the list.ShapelessRecipe.removeIngredient
(@NotNull MaterialData ingredient) Removes an ingredient from the list.void
ItemStack.setData
(@Nullable MaterialData data) 设置该物品堆的 MateralData 数据.ShapedRecipe.setIngredient
(char key, @NotNull MaterialData ingredient) Sets the material that a character in the recipe shape refers to.FurnaceRecipe.setInput
(@NotNull MaterialData input) 设置此冶炼配方的原料.限定符构造器说明FurnaceRecipe
(@NotNull ItemStack result, @NotNull MaterialData source) 已过时。FurnaceRecipe
(@NotNull ItemStack result, @NotNull MaterialData source, float experience) 已过时。 -
org.bukkit.material中MaterialData的使用
修饰符和类型类说明class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。请使用SpawnEggMeta
class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.class
已过时。all usage of MaterialData is deprecated and subject to removal.修饰符和类型方法说明MaterialData.clone()
已过时。FlowerPot.getContents()
已过时。Get the material in the flower pot修饰符和类型方法说明void
FlowerPot.setContents
(MaterialData materialData) 已过时。Set the contents of the flower pot