Minecraft Plugin Rezept für unsichtbaren Item Frame Programmieren?
Wie kann ich den Item Frame im Rezept unsichtbar machen? Kann man das mit der ItemMeta oder wie?
Momentan habe ich:
public ShapedRecipe Invisible_Itemframe () {
ItemStack itemStack = new ItemStack(Material.ITEM_FRAME);
ItemMeta itemMeta = itemStack.getItemMeta();
itemStack.setItemMeta(itemMeta);
NamespacedKey namespacedKey = new NamespacedKey((Plugin) this, "Invisible_Itemframe");
ShapedRecipe shapedRecipe = new ShapedRecipe(namespacedKey , itemStack);
shapedRecipe.shape(" ", " I ", " ");
shapedRecipe.setIngredient( 'I', Material.ITEM_FRAME);
return shapedRecipe;
}
programmieren,
Minecraft,
Plug-in