Everything posted by Draco18s
-
(SOLVED) [1.14.4] BlockState Json
Tabs are superior because when you backspace it removed the entire tab. Ergo it is the only correct way (also tabs are exactly 4 spaces wide and every other width is wrong).
-
fatally missing registry entries
You removed a mod. Now those things aren't there. You need to delete the world save file.
-
A way to save player data?
show your updated code
-
A way to save player data?
There's only two and that one's the wrong one.
-
A way to save player data?
https://github.com/DJ1TJOO/fantasy20/blob/master/src/main/java/nl/fantasynetworkmc/fantasy20/setup/RegistryEvents.java#L44 That's the wrong bus. Don't combine your event handlers like this. AttachCap is not a registry event, its a game event.
-
(SOLVED) [1.14.4] BlockState Json
Probably spaces vs. tabs Yeah, the lit-false line has two tabs, the lit-true is one tab and several spaces.
-
(SOLVED) [1.14.4] BlockState Json
-
[1.15.2] Update Lighting in nearby chunks.
You don't. It isn't a bug "in your blocks" its a bug in how vanilla handles lighting updates.
-
[1.14.4] Replacing vanilla tool recipe
https://github.com/MinecraftForge/MinecraftForge/issues/6287
-
Quickly find TileEntities in an area
Also don't use mutable block positions if you aren't going to mutate them. Also also BlockPos.getAllInBox(...) exists.
-
[SOLVED] 1.15.1 - NO LANG, NO TEXTURES!!
This seems self explanatory
-
HarvestDropsEvent not working as expected.
And modifications to such are still being worked on. https://github.com/MinecraftForge/MinecraftForge/pull/6401
-
How do I reference my block's x, y, z?
I wonder what this is.
-
Security craft error which kicks player
I can't tell what the problem is without any code. If you are not the developer, contact the developer.
-
Security craft error which kicks player
You have a null in your code. Its right there. I can see it with my brain.
-
[SOMEONE HELP!] Unknown reason for missing texture and model.
Show your logs.
-
How to rotate z-axsis
Because Minecraft does not distinguish between North/South as being distinct from East/West with regards to models. The only way to do what you want is to rotate on both X and Y.
-
[1.15.2] [Solved] Starting Advice (Registering, ObjectHolder, BlockItems, Tutorials)
The registry event is fine, but the deferred system is the current and new thing. I am blanking on what it's actually called, but it basically combines registration and @ObjectHolder functionality. https://mcforge.readthedocs.io/en/1.15.x/concepts/registries/#injecting-registry-values-into-fields @ObjectHolder lets you assign values to fields so that you can have a reference to any registry object (blocks, items, enchantments, etc) without having to create a hard dependency as well as cleanly handle overrides (i.e. you have one mod that supplies a block, then another mod comes along and supplies a replacement for that block to add its own functionality, your object holder field will reference the correct block--this is true for vanilla objects, your objects, and other mod's objects). Blocks do not (and cannot) exist in your inventory. What is in your inventory is an ItemStack and ItemStacks only hold Items. Blocks are not items. The way to "get around" this limitation is the BlockItem. It is the item form of a block.
-
(Solved)[1.15.2]player.onDeath method causes crash
Show your code.
-
How do i make my entity emmit light?
Light only comes from blocks.
-
How can i be sure, that semi-transparenca looks right ingame?
Run it and find out.
-
[1.15] Change block drops when mined with my tool
That's what loot tables are for. If someone wants to change the number dropped (ie "configure it") they can just override the loot table.
-
(SOLVED) [1.14.4] Check if it's raining on a Block
Don't forget that blocks that are underground still need to check to see if they can see the sky.
-
Make block blast resistand (1.14.4)
Show your code.
-
[1.14.4 - eclipse] Recipes not working
Search the marketplace for "json" there's about three. I use the one called "json editor plugin"
IPS spam blocked by CleanTalk.