-
Posts
1160 -
Joined
-
Days Won
7
Everything posted by poopoodice
-
Sorry, you're right, I mean ItemStack (edited)
-
At the moment I'm still using integers to save them (the nbt tags only contains the blocks I made), similar to the metadata in previous versions, I store their blockstate as int and then turn them back into blockstate when need them. I would like to know is there a way to save blockstates on itemstacks other than this way or capabilities?
-
[1.15.2] [SOLVED] Problems with BlockStates
poopoodice replied to AntoSkate's topic in Modder Support
Apparently there are some errors that we can't identify at the moment at the model file, since I'm able to use another model rather than the one that op gave. -
[1.15.2] [SOLVED] Problems with BlockStates
poopoodice replied to AntoSkate's topic in Modder Support
I can't seem to find where the error is, but when I delete your blockstate and model file and recreate them it worked. -
https://github.com/TechnoVisionDev/Minecraft-1.15.2-Modding-Tutorial/blob/master/src/main/java/com/technovision/tutorial/util/RegistryHandler.java#L20-L21 You did not do the same thing here, he/she has ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus()); BLOCKS.register(FMLJavaModLoadingContext.get().getModEventBus()); and you have ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus()); ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus()); Block items are basically items, you can register them as items (like how you do with other items)
-
[1.15.2] How to properly damage entity every second
poopoodice replied to lisilew's topic in Modder Support
Potion effect might be a easier way to do this (just my suggestion), but there should be other more proper ways to do this. -
I believe Food is a property, and the food itself is an item
-
Food is a property, and Foods is a class that has foods there, sounds pretty straight forward isn't it.?
-
https://github.com/JoeA42/MinecraftModTutorial/blob/master/src/main/java/com/JoeA42/tutorial/Util/RegistryHandler.java#L22-L23 you did not register your block here instead you registered your items twice, therefore it can not recognize what RUBY_BLOCK is public static final RegistryObject<Item> RUBY_BLOCK_ITEM = ITEMS.register("ruby_block", () -> new BlockItemBase(RUBY_BLOCK.get()));
-
I believe player clone event might be the thing you are looking for.
-
[1.15.2] how to update blockstate for a farmland
poopoodice replied to Thomas107500's topic in Modder Support
I think tick is called only if you use world.getPendingTick.scheduleTick (check redstone repeater/comparator) -
I'm curious about them as well. It seems like temperature is use to interact with other things such as snow golem. Also I don't think the scale represents the size when most of the biomes has value of 0.2f (even small end islands), but only ocean has 0.1f. Edit: I think you may be right that the scale may represent the "thickness" of the biome surface, since plain has 0.05 as mentioned, beach has 0.025, and tall biomes such as mountains (0.5), snowy mountains(0.3) have higher scale, maybe it represents the average of blocks of the the surface of the biome has in a certain location, such as ?? blocks in (0, x, 0). Pure guessing
-
Not strictly Forge-related, but...
poopoodice replied to TheThorneCorporation's topic in Modder Support
I like piskelapp the most, especially for small textures -
[1.15.2]Play animation and sound with custom item
poopoodice replied to Mower's topic in Modder Support
You can use capabilities or nbt tags to store data, and you will probably want to just use the playerIn in onItemRightClick() instead -
[SOLVED][1.14.4]How do I make a block that looks like a cauldron?
poopoodice replied to tadano's topic in Modder Support
edit: sorry, quote deleted Check vanilla cauldron blockstate and models -
[1.15.2]Play animation and sound with custom item
poopoodice replied to Mower's topic in Modder Support
why use mc.player instead of the player already given? and you should probably store the cooldown in nbts -
Check CraftingScreen for more details or create your own Button Class
-
addButton() in Screen
-
Feed The Beast Keeps Crashing
poopoodice replied to LookYourDeadPeasent's topic in Support & Bug Reports
-
Latest version is always the first choice since 1.12 is not in long term support anymore, my suggestion is to move onto 1.15
-
Tile Entity Field Being Reset Before Writing to NBT
poopoodice replied to jkolbly's topic in Modder Support
I guess this is your problem btw 1.12 is no longer being supported here -
[1.15.2] I found an error but I can't localize it
poopoodice replied to TheDeadlyWaffle's topic in Modder Support
https://github.com/TheDeadlyWaffle/Spiritcraft-mod/blob/master/main/resources/data/spiritcraft/recipes/soul_stone_wall_from_soul_stone_stonecutting.json#L6 remove the blank space in the "result": "spiritcraft:soul_stone_wall ", L__here and I dont understand why the error only occur when you add the gem_pedestal, maybe you add the recipe while you add the gem_pedestal? -
[1.15.2] I found an error but I can't localize it
poopoodice replied to TheDeadlyWaffle's topic in Modder Support
Took me a while, but in Spiritcraft-mod/main/resources/data/spiritcraft/recipes/soul_stone_wall_from_soul_stone_stonecutting.json -
[1.15.2] I found an error but I can't localize it
poopoodice replied to TheDeadlyWaffle's topic in Modder Support
can you upload the whole repo? -
[1.15.2] I found an error but I can't localize it
poopoodice replied to TheDeadlyWaffle's topic in Modder Support
Make sure you are not using characters that aren't listed above in your resource locations