-
Posts
3624 -
Joined
-
Last visited
-
Days Won
58
Everything posted by Cadiboo
-
(solved) There is no option to install forge. Help
Cadiboo replied to Ramgoat's topic in Support & Bug Reports
The installer is a .jar file, You need Java installed to run it. You can't delete posts but you can edit the top post to add "[SOLVED] " to the title. -
Unusable "config" button in main menu [1.15.1]
Cadiboo replied to grodzio122's topic in Support & Bug Reports
Because the old config system was not great and moving to the new one makes everything much cleaner as it uses a better API built on top of NightConfig. -
[1.14] Right-clicking mod block with off-hand
Cadiboo replied to chirptheboy's topic in Modder Support
Um... You still only do stuff on the server. -
[1.13.2] Mod configuration using ForgeConfigSpec
Cadiboo replied to BatHeart's topic in Modder Support
Yep, PR: https://github.com/MinecraftForge/MinecraftForge/pull/6421 I’m currently working on the Forge docs for the config system, here’s my tutorial on them in the meantime. -
No. Item Registry Event: - Create EntityType - Create and register Spawn Egg EntityType Registry Event: - Register EntityType In External/Referenced Libraries in your IDE. I assume spawning entities would be in ServerWorld.
-
No, but I’m general static initialisers are bad and you shouldn’t use them. It’s unlikely that this is the cause of it, but you should fix it anyway (you’ll need to create your entity entry but not register it in your item registry event to register it’s spawn egg, then register it in the entity registry event). Have you tried looking at vanilla’s code to see how it gets a creature to spawn? Working back from that code should allow you see why yours isn’t working.
-
Make sure you have Java installed and use JarFix. In future do not hijack threads.
-
[1.15.1] Why does Minecraft crash when I try to spawn my entity?
Cadiboo replied to DragonITA's topic in Modder Support
Your repo is empty. Did you push your commits? -
[1.12.2] How do I create a custom coal item
Cadiboo replied to Concavebark's topic in Modder Support
Subscribe to the ItemBurnTimeEvent (or similarly named, it’s used in the furnace code). I believe you can also change time time in other ways - the furnace tile entity’s code is going to be where you should start looking. -
(SOLVED) [1.14.4] Get Biome of targeted Block
Cadiboo replied to MineModder2000's topic in Modder Support
Some examples of code that do raytracing: - debug overlay’s targeted block - throwable entity’s update code (before it calls onImpact) - Minecraft’s code that’s sets objectMouseOver -
It’s not the reason it’s broken, it’s just useless code. This is your own internal method that you’re using - you never pass null into your method (and obviously shouldn’t) so the check is pointless. However, if you accidentally do pass null into this method (because an objectholder failed or you forgot to create a biome) you’re not going to want it to just fail silently - you’re going to want to know about it.
-
You really shouldn’t need this check. Please show your full code or link a GitHub.
-
(SOLVED) [1.14.4] Get Biome of targeted Block
Cadiboo replied to MineModder2000's topic in Modder Support
You can use Minecraft#objectMouseOver. You can also look at the ray trading that the debug overlay does to show you your targeted block and block (at a surprisingly far range) -
[1.15.1] Deobfuscate source code using client.json
Cadiboo replied to Legenes's topic in ForgeGradle
MCPBot has been updated to 1.15.1. -
You should use eclipse’s gradle integration to set up your workspace. I have a tutorial on how to set up a 1.14.4 workspace with eclipse at https://cadiboo.github.io/tutorials/1.14.4/forge/1.1-importing-project/eclipse/
-
I would do it by subscribing to the server tick event and iterating each players inventory (try to stagger this so you don’t do each inventory each tick) then removing any stacks who’s item is not allowed (via setStackInSlot(ItemStack.EMPTY)).
-
It is possible but leads to crashes if something tries to reference those items (even if it’s just a json recipe). So you shouldn’t do it. The best way to do this would be to remove the item from all creative tabs and remove its recipe. That way ops can still get the item with /give but normal players can’t get it. If you want to go a step further you can create an event handler that scans players inventories for the item and removes it (and hopefully tells the player about it).
-
[1.15.1] Why does Minecraft crash when I try to spawn my entity?
Cadiboo replied to DragonITA's topic in Modder Support
Use a git client. GitHub desktop is good if you have limited experience in git/the command line -
[1.14.4/1.15.1] Removing Fire Rendering On a Player
Cadiboo replied to Rohzek's topic in Modder Support
I would look into the render overlay event and it’s phases -
I feel like I’ve answered this recently before. Check if Minecraft#currentScreen is an container screen and if so grab the container and do stuff with it.
-
How do i update my eclipse workspace to use minecraft 1.15.1 mods?
Cadiboo replied to Drachenbauer's topic in Modder Support
You update your workspace by changing your forge version & mappings then re-running the setup tasks. -
This may be helpful https://gist.github.com/Cadiboo/385211b732d09b707ff825246d71b2c1#dimensions
-
[1.15.1] How can I create my own custom "Elytra"?
Cadiboo replied to SciPunk's topic in Modder Support
You can use a key bind to set a field somewhere (1.14.4 example). Rendering changed a lot in 1.15.1. Your best bet is to look the vanilla code.