2. 添加librarian plugin到build.gradle文件, 3. 更新你的mappings为parchment的cahnnel。 修改其中的版本 ```java mappings channel: 'parchment', version: '2022.11.27-1.19.2' ``` 4. 点击relaod gradle 等待build success ## 添加JEI 在JEI的github仓库中提供了development的wiki 点击...
clone(): ItemStackCreates an exact copy of the item stack, including any custom data or properties.Returns ItemStack - Returns a copy of this item stack.getCanDestroygetCanDestroy(): string[]Get the list of block types this item can break in Adventure mode.Returns string[]...
[世界种子] - 创造一个新世界世界类型包括:normal【一般】|nether【地狱】|planets【行星】|flatland【平原】|pixelartroom【pixel平面图世界】|the_end【末界】|solarsystem【太阳系】|plugin【插件】|ocean【海洋】|desert【沙漠】|epiccaves【洞穴】|/mw delete [世界名] - 删除一个世界/mw save - 保存插件...
@Override public ItemStack decrStackSize(int slot, int size) { ItemStack item = getStackInSlot(slot); if (item != null) { if (item.stackSize <= size) { setInventorySlotContents(slot, null); markDirty(); return item; } ItemStack itemstack1 = item.splitStack(size); if (item.stack...
intnextStackSize=Math.min(arrowCount,Items.ARROW.getItemStackLimit()); arrowCount-=nextStackSize; ItemStacktemp=newItemStack(Items.ARROW,nextStackSize); 代码示例来源:origin: PrinceOfAmber/Cyclic chestMax=chestItem.getItem().getItemStackLimit(chestItem); ...
if(!stack.isEmpty()) title=stack.getDisplayName(); StringakashicTomeNBT="akashictome:displayName"; title=ItemNBTHelper.getString(stack,akashicTomeNBT,title); returntitle; } 代码示例来源:origin: RS485/LogisticsPipes @Nonnull privateStringgetName(ItemStackstack){ ...
The Minecraft Item Wizard is a plugin for Blockbench. It allows you to add a custom item to Minecraft without any coding experience or knowledge of the addon system. It does this by generating an addon on your computer, which you can add to your world....
minecraft:max_stack_sizedetermines how many of an item can be stacked together. Parameters NameDefault ValueTypeDescription value64IntegerHow many of an item that can be stacked together. Comentarios ¿Le ha resultado útil esta página?
publicvoidload(){Items.BOAT.setMaxStackSize(16);} 代码示例来源:origin: Vazkii/Quark @Override publicvoidinit(FMLInitializationEventevent){ ImmutableSet.<Item>of(Items.MINECART,Items.CHEST_MINECART,Items.COMMAND_BLOCK_MINECART,Items.FURNACE_MINECART,Items.HOPPER_MINECART,Items.TNT_MINECART) ...
Minecraft WorldEdit wiki: http://mineplugin.org/WorldEdit#.E5.AF.BC.E5.85.A5.E4.B8.8E.E5.AF.BC.E5.87.BA //limit <参数> 设置一个修改的最大数量方块(个)。 历史纪录 //undo 复原最后一个动作。 //redo 还原复原的动作。 /clearhistory 清除历史纪录。