-
Macro runData on all lang?
Like from line 92 onward https://github.com/jackokring/ExactFeather396/blob/main/src/main/java/uk/co/kring/ef396/DataGen.java
-
Oh dear :D
D-cache/I-cache balance ~?
-
Oh dear :D
An excellent class I haven't managed to use yet as it all seems to be about surrounding method calls with some parameter ServerLevel/ClientLevel overloading and not so much in mod code. A free class implies boolean?
-
Macro runData on all lang?
An in a real sense @jackokring/ExactFeather396 has few logs and the TensorFlow java/keras looks like an interesting Goal() in the scheme of Java building.
-
Macro runData on all lang?
I could do it but then class per mod overheadz might exceed central class speed and size optimization goals. Is there a Forge subpackage name yet?
-
Macro runData on all lang?
Any chances of a "item.$x.$y_ore": "$x's $y Ore", "$x.minecraft": "Minecraft", "$y.ruby": "Ruby" Kind of thing in some DataProvider?
-
[SOLVED] I need help in ore generation 1.18.1
The code doesn't even compile under 1.18.2 as "Holder" introduced so warning for later.
-
[1.18.2 /.14] I'm getting an exception from ItemStack class from CreativeTab class ...
I will do. I think it might be a static field CreativeTab in the main mod by static initializer where register is indirect through the instance of the mod. That is to say the ClassLoader thread is not the mod thread. Github @jackokring/ExactFeather396
-
[1.18.2 /.14] I'm getting an exception from ItemStack class from CreativeTab class ...
Seems I can't have a creative tab as it baulks and then complains about things not being defined to load in the Tags. I think the RegistryObject<Item> hasn't been used as it's the first item. The bootstrap process is involved. Is it a new feature?
-
[1.15.2] How do you add Potion Recipes?
It seemed to work when I needed an Item as a temptation for a Mob `Animal`. cast `(ItemLike)` ... Ooops seems I forgot to past the actual.
-
[1.15.2] How do you add Potion Recipes?
It seemed to work when I needed an Item as a temptation for a Mob `Animal`.
-
[1.16.1] missing == null check in WrittenBookItem.java
/** * Gets the generation of the book (how many times it has been cloned) */ public static int getGeneration(ItemStack book) { return book.getTag().getInt("generation"); }
-
[1.16.1] Opening written book, and unexpected potion duplication
itemP = new WrittenBookItem.Properties().group(customItemGroup); //.maxStackSize(BOOK_STACK_SIZE); WrittenBookItem bookItem = new WrittenBookItem(itemP); //the following 2 look like a read and write function pair //bookItem.readShareTag(); //bookItem.getShareTag(); //perhaps it's bool false and a place where tags are for following 2 methods ... //bookItem.shouldSyncTag(); //bookItem.getTags(); bookItem.setRegistryName(Jacko.MOD_ID, "book"); event.getRegistry().register(bookItem); That's it for today as the "source" I've found is of the P_124141413413_?? variety.
-
[1.16.1] Opening written book, and unexpected potion duplication
data/jacko/tags/items/book.json might be a suitable location for book text? I assume one of those functions loads an NBT and checks for pages ... and https://minecraft.gamepedia.com/Data_Pack seems to have some info but I last coded mods about minecraft 1.7.
-
[1.16.1] Opening written book, and unexpected potion duplication
Custom tab itemGroup, so all mod items appear, but all potions I just added a PotionItem() with the model having a CustomPotionEffects in the json. The four redstone blocks appear with no functionality yet (will do this later). I'm not sure where to set it's text, it's in the item model at the moment (an assumption). Do I have to sub class WrittenBookItem? Is it possible to make it readable by using a json file or does it need code to load the book content? I managed to fix 1 more error on in achievement recipes as i had a bad item name or 2.
IPS spam blocked by CleanTalk.