Everything posted by Luis_ST
-
Interaction with mod item
for right click you can override #use in your Item class for left click you can use PlayerInteractEvent.LeftClickEmpty (note this Event is client side only)
-
I'm trying to get an enchantment from a json file but it doesn't work (I'm making a mod)
this is not a valid enchantment name, you need to use the Registry name, like you use it for the item
-
Adding Armor Variants [1.18]
it depends on in which way you want to modify the Chestplate, in which way do you want to modify the Chestplate? Note: if you want a different Item for each modification, you need to register all the Items
-
Vault Hunters not loading.
post debug log, on CurseForge you need to enable the debug log in the settings
-
how to find slime chunk in forge version 1.18.2
https://minecraft.fandom.com/wiki/Slime take a look at the Slime chunk part
-
My forge jar isn't working
run the server from the command line and post full output
-
Errors in currently selected datapacks prevented the world from loading... EDIT: and more.....
Problem with Pollen. Make sure you are using the latest version. If the Mod is already up to date, report this bug to the Mod author.
-
Forge server doesnt work help me
1.16.5 requires java 8
-
Non [a-z0-9_.-] character in namespace of location
post debug log
-
Can I call the event method?
why, you have Event instance so call the getters we all have the code of the Event the Event exist to perform an action at a specific 'time'/'action' in the game what are you talking about
-
Having problems getting my server to run, Need help!
update Forge to the latest version and do not put your server on OneDrive
-
Constant Crashing
this is your issue
-
Failed to create fence object error on startup causing instant crash
please post the debug log and do not format the log since it's unreadable
-
Constant Crashing
post debug log please
-
Transparent texture is displayed in black
you need to set the RenderType in FMLClientSetupEvent via RenderTypeLookup.setRenderLayer
-
[Version 1.18.2, SOLVED] Give player status effect as it presses a key
yes you should, you can take a look at this
-
Custom food that applies a random effect.
unfortunately i have no idea why, use debugger this is controlled by the duration of the Effect, but it should not happend with a duration of 1200
-
Custom food that applies a random effect.
looks good, you can also set the type of the Registry Object to your custom Item but that's optional
-
Forge 1.18 versions crashing, not sure what the issues are
post launcher log
-
Custom food that applies a random effect.
here
-
Custom food that applies a random effect.
the class does not change the result, but i would recommend you to create a new class for the Item a thing you need to do is create a new instance of the class inside the RegistryObject instead of using the Item class
-
Custom food that applies a random effect.
you did not use your Item class in when creating your Item, also why did you use your ModEventListeners as Item class?
-
Slot 0 not in valid range - [0,0)
you could try 256 for both values, but im not sure which value you have to set there since the vanilla default values are 176 (imageWidth) and 166 (imageHeight)
-
Slot 0 not in valid range - [0,0)
- Custom food that applies a random effect.
you can check if the LivingEntity is an instance of Player, then you can cast it to a Player or you use the java 14 instanceof pattern matching - Custom food that applies a random effect.
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.