Everything posted by warjort
-
Mod Update
This link has some notes on the major changes between 1.12 and 1.17 including some tools to help you do some method renaming. https://docs.minecraftforge.net/en/latest/legacy/porting/ And this page has links for the changes in 1.19 https://forums.minecraftforge.net/topic/114502-forge-411-minecraft-119/#comment-507843 There is also a bot on the discord server that will let you query old class/method names to find the modern mojang endorsed names. But as was said above, Minecraft has undergone major structural changes since 1.12 You would be better off starting with a clean slate and copying what can from the old mod. Many things will need to be done in a completely different way. e.g. the new graphics library, 1.13's change of world save format which affects registration and 1.16+'s rewrite of worldgen
-
Renedring Overlay crash
That isn't the debug.log, you need to enable the forge debug.log in curseforge's settings. The log you have posted does not show any error (including the one from the original crash report)? This was the error from the original crash: Without further information, I would guess there is some conflict between the illuminations mod and the entity textures features mod? You should check you have the latest version of these mods and then contact the mod authors.
-
Synched Entity Model
Ok, I understand the problem now. When you said I thought you meant it was drawing the model for a completely different entity type. I was looking for where you had a miss typed a resource location. Your problem is the model is shared by all entities. So if you rotate one entity, you need to reset the model when doing the next entity. You only changing it conditionally so the entity will have the rotation from the previous entity if your condition check fails. For some reason you are double checking the condition as well? https://github.com/luccaPossamai/M.O.Hard-FORGE/blob/deabf4f1850ea3ea30f8220ed067a1709229cee6/src/main/java/net/lucca/mohard/entities/amethystBoulder/AmethystBoulderRenderer.java#L34 https://github.com/luccaPossamai/M.O.Hard-FORGE/blob/deabf4f1850ea3ea30f8220ed067a1709229cee6/src/main/java/net/lucca/mohard/entities/amethystBoulder/AmethystBoulderModel.java#L40
-
Renedring Overlay crash
Post your logs/debug.log so we can see what is causing this mod to go into the error state.
-
Synched Entity Model
I don't see an obvious typo or incorrect use of static methods/fields. So I tried to run your mod, but I get this error. Can you make sure the repo is up-to-date with what you are testing. Also can you give instructions on how I can reproduce the issue.
-
[SOLVED][1.19.2] Hitboxes
For the calculation to be consistent on client and server, you need the data that affects the calculation to be synched from server to client.
-
[SOLVED][1.19.2] Hitboxes
For your own entities you override getDimensions(Pose) then call refreshDimensions() when something happens that can affect the calculation. See for example LivingEntity.getDimensions(Pose) that rescales the dimensions according to getScale(). While AgeableMob calls refreshDimensions() when the mob changes from a baby to an adult which affects the return value of LivingEntity.getScale().
-
Synched Entity Model
No the registration of entity renders. That's why I said post all the code. Otherwise, this will be another time sink of a thread trying to track down a simple typo in code we can't see.
-
Synched Entity Model
Show your registration code. While you are at it show all the code, so we don't have to play a guessing game on what you might be doing wrong.
-
My mod is loaded but it doesn't work anyway
Initially you showed the deferred register and nothing else. Now you show the GLM but not how it is registered?
-
Won´t check Chestplate slot
You need to learn the different between reference == and value e.g. Object.equals() equality checks. Examples where reference equality works in Minecraft are things that go in registries, e.g. Block, Item, EntityType, etc. Examples where you need value equality are most other things, ItemStack, Entity, etc. because they have many instances. The code you want looks something like: Look at the ItemStack class for other value equality checks. NOTE how Item == Item is acceptable, but ItemStack == ItemStack is not.
-
Crashes whilst loading mods
One of your config files is invalid/corrupted. If you don't have a backup of the file and don't know how to fix it (ask the mod author), you can delete the file and it should be recreated with default values. Although, I would ask the mod author why they are trying to load the config files for a different mod?
-
The game crashed whilst rendering overlay Error: java.lang.NoSuchMethodError: 'void...
Yes, download the preview version with the fix that was released 3 days ago.
-
Help with crash log, please.
From the error it looks like one of your mods has broken Minecraft's lighting engine? The only thing in the log (such as it is, since you don't show the full debug log) that mentions a mod is that the error happened while ftb backups was creating a backup. It got a similar error. You should add mods one-by-one instead of adding large groups of mods. And test each one. That way you will know which mod is causing a problem.
-
My mod is loaded but it doesn't work anyway
Snippets are useless. Post the full code (preferably on github) so we can see everything in context. All that code shows is you created a deferred registry. Nothing was registered to it. And nothing that would use any modifier registered to it. Here's an example where I was learning the 1.19 GLMs. It makes breaking a block in the minecraft:leaves block tag drop a diamond. https://forums.minecraftforge.net/topic/113816-1182-method-for-iterating-over-blocks-belonging-to-a-tag/?do=findComment&comment=505993
-
The game crashed whilst rendering overlay Error: java.lang.NoSuchMethodError: 'void...
https://github.com/sp614x/optifine/issues/7127
-
Trying to play Forge 1.18.2 and crashes right when it opens the loading screen
Looks like you are missing this mod? https://www.curseforge.com/minecraft/mc-mods/framework
-
How to create an entity with properties and textures of a block
- Replacement of "getDefaultAttributeModifiers"
Override IForgeItem.getDefaultAttributes(ItemStack) IForgeItem.getAttributesModifiers(EquipmentSlot, ItemStack) in your Item. Its default implementation is to call that deprecated method. The deprecation like other methods on Block and Item is really meant for people trying to call the method, not people overriding/implementing it.- Trying to figure out Ore Generation. Can someone help?
You are hard work. 1) Why are you using the wrong (very old) version of the parchment mappings. https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/4a0dc18dd75269dc419f3c639625ba790ab32c6f/build.gradle#L30 https://parchmentmc.org/docs/getting-started 2) To try to figure out which methods you were using I had to download the mod and load into an ide. Except the code in that repo doesn't compile. So, after many attempts, I am still not looking at the code you are using. Normally I would throw it back to you, since I am obviously not looking at the real code. But... 3) You can't spell minecraft. https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/4a0dc18dd75269dc419f3c639625ba790ab32c6f/src/main/resources/data/debrismod/forge/biome_modifier/add_simple_ancient_debris.json#L3 4) The only placed feature you have configured to go in a biome is using a configuration where it starts at a minimum of y=70 and a maximum of y=0 Can you tell me a number that is bigger than 70 and also less than 0? 🙂 https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/4a0dc18dd75269dc419f3c639625ba790ab32c6f/src/main/java/com/liam/debrismod/world/feature/ModPlacedFeatures.java#L20- Trying to figure out Ore Generation. Can someone help?
Not my fault. The information is there. e.g. show me where in the code you are adding your placed feature to a biome. If you make another post that just says "it does not work" I will just ignore you.- Trying to figure out Ore Generation. Can someone help?
And for your next inevitable question, from the earlier link: https://forums.minecraftforge.net/topic/115928-1182-error-trying-to-register-a-custom-feature-based-on-kelpfeature-solved/?do=findComment&comment=512557- Trying to figure out Ore Generation. Can someone help?
This method and the similar one in the placed features class is not being called. So nothing is registered. https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/9d47d3fc63591e8f286d94cf5e1473af644f02e1/src/main/java/com/liam/debrismod/world/feature/ModConfiguredFeatures.java#L35 You are only registering blocks and items. https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/blob/9d47d3fc63591e8f286d94cf5e1473af644f02e1/src/main/java/com/liam/debrismod/DebrisMod.java#L35- [SOLVED] Register BlockEntity in 1.19.2
Add this constructor: public MobKillerBE(BlockPos pos, BlockState state) { this(YourMod.MobKillerBE.get(), pos, state); } Replace YourMod with whatever class you have defined that block entity type You can see something very similar in that tutorial in the section with header "Tile Class" If you want to understand what is going on. Look at the signature of BlockEntityType.BlockEntitySupplier which is the type of the first parameter for Builder.of() It is (BlockPos, BlockState) with no BlockEntityType.- Trying to figure out Ore Generation. Can someone help?
This is the same as your previous thread which was a lot of back and forth to try to get the information out of you to fix a very simple error. It also included you trying to spam me with private messages beyond what is on that thread. https://forums.minecraftforge.net/topic/117995-my-custom-blocks-are-not-dropping-anything-when-mined-help/#comment-519611 Show me where in that repo you are using vertical anchors. Or even any worldgen. I only see tags, recipes and loot tables in your data folder and nothing in your java code. Frankly, you are just too much of a time sink to make trying to help you worthwhile. You either need to up your game or stop wasting people's time. I am inclined to think this isn't real and you are just trolling. - Replacement of "getDefaultAttributeModifiers"
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.