Everything posted by Luis_ST
-
Mob Model Changing
Could you please provide more information, what kind of variable are you talking about, what should be added?
-
Help with buttons
Show more of your code and provide a screenshot of the button in game
-
Custom chest renderer issue
Try to put the texture into entity/chest and use 'rhylyamod:ice_chest' as ResourceLocation for the Material
-
[1.19] Render line on screen
Have you tried to use the code from the line render methods of GuiComponent and modify it because fill draws a rectangle on the screen?
- Need Help With Crash Report
-
[1.20.1] How should/where I edit my blockstates to get to get logs to generate sideways on a tree?
Duplicated thread. I already told what you have to do in this thread:
-
Block Entity recipes not working
RecipeManager#getRecipeFor uses OreRefineryRecipe#matches to enure the items in the container are valid for the given SimpleContainer are you sure the implemention is correct since you have a NonNullList as input but you only use the first item of the list?
-
OverlayRegistry equivalent in 1.20
The replacement for ForgeIngameGui is IGuiOverlay the replacement of OverlayRegistry is now RegisterGuiOverlaysEvent.
-
[1.19] Render line on screen
There should already be methods for drawing a line in GuiComponent. Note that they are separated into vertical and horizontal lines.
-
Error when compiling Minecraft Forge mod with ItemGroup.MATERIALS
I don't currently have a mod in 1.16.5 but I would say due to the error the ItemGroup.MATERIALS no longer exists, use your IDE to check this. In addition you can take a look at the Items class for vanilla examples, you should then be able to fix the error.
-
Keymappings don't appear in key binds menu [1.20.1, forge 47.1.30]
It is recommended to use translation files, but if Vanilla does not find a translation for the specified key, the raw text will be displayed
-
Entity Block Detection
Did you have tried anything? It's Vanilla's implementation of a 3-demotional area, use your ide to take a look at the class
-
Crashing Changing Dimensions Forge 1.19.2 | 43.3.5
The log you post does not conatins any error which causes the game to crash. Make sure the log you post is the full debug.log, if it's not try to upload the log on GitGist: https://gist.github.com/
-
Keymappings don't appear in key binds menu [1.20.1, forge 47.1.30]
If i remember correctly the category is just a translation key, you must not register the category somewhere else
-
Mob Model Changing
I am not familiar with GeckLib at all, I would recommend to checkout the documentation.
-
Entity Block Detection
Then you have to search for a player and a beacon in a certain area, you can use an AABB and a BlockPos.Mutable for Blocks. The level has methods to get entities under certain conditions, e.g. getEntities or something like that.
- My 1.19.4 Minecraft Forge crashes whenever i try to jon or create a new world
-
I need a replay mod
Did you looked at CurseForge?
-
what this mean ? (.class file)
As Finn already told you the Mod is made by Mcreator its a mode maker for Minecraft (which is not recommend to use). It looks like there is a 1000/3 chance that the structure is generated in a chunk. I would recommend removing the mod and replacing it with a similar mod from Curseforge.
-
Mob Model Changing
Create a new class that extends the LayerRenderer, implement the render method and render whatever you want there (use the vanilla layers as an example). Then you need to subscribe to the EntityRenderersEvent.AddLayers and add the your custom LayerRenderer to the EntityRenderer.
-
Entity Block Detection
Is the pet your own custom Entity or are you talkting about a vanilla Entity?
-
Block Entity recipes not working
Direktly in Modder Support Have you used debugger to check your code? At first look the code should work, is a recipe found in the tick method?
-
Mob Model Changing
You can add a LayerRenderer to the Entity in EntityRenderersEvent.AddLayers. There are many vanilla LayerRenderers you can use as an example, use your IDE to find them.
-
Entity Block Detection
Can you explain the conditions under which an effect should be added to the player? But the TickEvent.Player should be a good point to start.
-
[1.20.1] I cant figure our how to use the pBlockSetter for my TrunkPlacer to make branch logs generate sideways
You have to rotate the BlockState you want to place and not the BlockPos.
IPS spam blocked by CleanTalk.