Everything posted by Draco18s
-
[1.16.4] setBlockState with out send update event.
Still don't know why you added the 1 if you didn't want block updates.
-
[SOLVED] [1.16.4] Change Block Hitbox/Outline
Cough.
-
1.16.4 Fishing Loot Table
Really high level nonsense, all modifiers are invoked any time any loot is dropped by anything. The LootConditions result in most of those modifiers effects being skipped (because the conditions were false, and that includes things like "a zombie died? Well that wasn't iron ore..."), but they're still checked. The point was to create a system that replaced HarvestDropsEvent in a way that was as data driven as possible and would layer properly so that multiple mods could modify the same loot table without conflict (eg. adding a new crop seed to tall grass). As such its complicated to create, but it is more better than any other approach for all the reasons that those other approaches are broken.
-
[1.16.4] Checking an ItemEntity is in water.
I didn't say it was. I was asking why you did it because its stupid.
-
[1.16.4] Enchant a BookItem with random Enchantment
Maybe use a rng.Next instead of 0?
-
[1.16.4] Checking an ItemEntity is in water.
Why is this a class property and not a local variable?
-
I'm getting the oddest error
Now you have a thousand "can't load model" errors. Mostly FileNotFoundExceptions.
-
I'm getting the oddest error
I said folder, not file. I don't care about your lang.json, I care about a folder named Lang.
-
GUI Documentation
Apparently its been like that for 4 years. https://github.com/MinecraftForge/Documentation/issues/74
-
I'm getting the oddest error
sounds.json is just a file that Minecraft was looking for at a given location. It doesn't make sense that it was doing so, but that's what gets reported, just because of how Minecraft is poking around the assets directories. Do you have a folder named Lang? (even if empty) Is your modID Lang?
-
changing block used when creating structure nbt
"If I never tell the structure about this property, will it know about it?" Think about that for a minute.
-
[1.16.4] check if a player has an item
Loop over every stack in the player's inventory until you find a match.
-
[1.16.4] How to add lore to ItemStack
ItemStacks are Stacks of an Item. addInformation in the ItemClass is passed the relevant ItemStack for you to make any determinations based on other data. But only works for your own items. RenderTooltipEvent would be if you need to add information to an Item you don't control (and gets the same parameters addInformation does).
-
[1.16.4] Textures Not Showing Up On Blocks When Set
Hm. Not seeing anything obvious, post the log too.
-
Failure message: Missing License Information in file Mod File
What part of "you can't use 1.15 mods on 1.16" was not clear?
-
[1.16.4] Textures Not Showing Up On Blocks When Set
Show the model json, as that's where textures are specified.
-
Creating a custom smelting recipe
It's how forums work. Its not something special about this board. You would need a new crafting type, but your custom furnace could load both the vanilla recipes and your custom one.
-
Creating a custom smelting recipe
Welcome to a "forum" where there are not questions and answers, but merely a discussion. This is not Stack Exchange. There is no such thing as "marking a thread solved" beyond changing the thread title with "edit post" to manually type "solved" yourself. But that is an optional and subjective act. You could just as easily type "Resolved" or "Found the Answer" or "Answered."
-
Creating a custom smelting recipe
Browse the game's files for them? They're in client.jar like the crafting table recipes.
-
Creating a custom tile entity with a container and binding it to already registered custom block
Yes. Which is where you store the inventory. You can't store it anywhere else... Vanilla code is a pretty good resource. Just ignore anything about IInventory and use the Forge supplied Capabilities system instead.
-
Creating a custom tile entity with a container and binding it to already registered custom block
Tile enntities haven't changed significantly in several versions. Override hasTileEntity and createTileEntity in your block class.
-
[1.16.3] Received invalid biome id
Then I don't know.
-
Failure message: Missing License Information in file Mod File
You're tyring to use a 1.15 mod on 1.16 You cannot do this.
-
Stuck with block movement
This code says "draw nothing." So it draws nothing. And you are surprised.
-
[1.16.3] Received invalid biome id
Yes, that works to register a biome. Or it should, based on what little I know about biomes. But it is only registering one biome ("green_forest_biome") but you have two biomes ("green_forest_biome" and "deepnether"). And as you did not include any more of your log than "there was an unregistered biome" I have to conclude that you attempted to reference your deepnether biome which wasn't registered.
IPS spam blocked by CleanTalk.