-
Posts
1830 -
Joined
-
Last visited
-
Days Won
12
Everything posted by DavidM
-
Why my flowers will not get replaced by my block?
DavidM replied to Schleim_time's topic in Modder Support
Post all of your code. Please refer to this image to setup up your event subscribers appropriately. -
1. Do not use static initializers. Read the common issues and recommendations for more info. 2. You do not own the domain "steveraft.com"; therefore, you cannot use it as your package name. Are you by any chance following modding tutorials on youtube? If yes, I would recommend you to stop. Most youtube tutorials are outdated and promotes bad practices. In fact, most you tubers who do modding tutorial are new to programming and have little idea what they are doing ("just copy paste this code because it worked for me, so it will work for you").
-
AFAIK you can’t. You could try asking the original author to create a Forge version of the mod. Jar modding should not be used anymore.
-
1. As a general suggestion, please post a new post instead of editing your original post to a completely different message to avoid confusion. 2. Again, I don’t think Forge supports jar modding. You should install Forge mods the standard way (drag into the mods folder).
-
I have no clue what you are talking about due to the ambiguity of your description as well as the lack of punctuation. Please consider rephrasing you question and be more specific. If I did understand you correctly, you are asking if Forge supports jar modding. As far as I know, Forge does not support jar modding. You should just install mods the normal way (drag into mod folder).
-
Forge 1.12.2-14.23.5.2768 will not open.
DavidM replied to urin4abeating's topic in Support & Bug Reports
Please read the EAQ and provide the appropriate log(s). -
forge-1.12.2-14.23.5.2768-universal.jar wont open
DavidM replied to jackfrost3215's topic in Support & Bug Reports
No you don't. Do not hijack other's thread; please create your own thread. -
No you don't. Please create your own thread. Note that 1.7.10 is no longer supported on this forum though.
-
Uhoh looks like the game has crashed problem
DavidM replied to minecrafter.'s topic in Support & Bug Reports
Update your GPU drivers. If that does not work, get a GPU that supports OpenGL. -
Send the whole log.
-
Please read the EAQ and provide the appropriate log(s).
-
What mechanics do you want to change? What is the event (what should the event do) you are looking for?
-
It is not, as the error is present. Check your folders and directories and make sure they have the correct name. Consider uploading your mod to a GitHub repo so others can take a look and assist you in fixing your code. Moreover, a 2 character long mod id is likely to cause conflicts with other mods. Change the mod id to something longer.
-
ItemStack does not override hashcode and will not work as keys in a Map the way you are expecting it to. As for the recipe, I would suggest creating a list of custom recipe entries and search through it with a method that checks if two ItemStacks are "equal". private List<MyEntry>; // Pseudocode. MyEntry: (inputStack, outputStacks[]) Moreover, stop following HarryTalks' tutorials as his tutorials are outdated and promotes bad practices.He himself is new to programming, resulting in problematic code and cargo cult programming in his tutorial.
-
Post the error as well as a picture of the block in game. Moreover, you seemed to completely ignored this sentence.
-
playertickevent event in function not working
DavidM replied to xiscool123's topic in Modder Support
1. Post your entire code. 2. Are you trying to subscribe to an event? Make sure the @SubscribeEvent annotation is present. 3. Do you know Java? -
Sorry. 1.7.10 is no longer supported on this forum due to its age. Update to a modern version of Minecraft to receive support.
- 1 reply
-
- 1
-
[1.13.2] How to detect when a certain item is dropped?
DavidM replied to ketchup_god's topic in Modder Support
The annotation on an event bus subscriber should be @EventBusSubscriber. Also make the onItemTossEvent static (refer to this picture for more explanation on when event bus subscriber should be static). That is going to crash on a server. Hopefully you are only using it temporarily for debugging purposes. -
1. Show your code. 2. Use your IDE to figure out what methods changed and the replacement for them. 3. Do you know Java?
-
No. The player have to manually install such dependencies. Well, technically you could auto download dependencies (like how CodeChicken Core/Lib is installed on Minecraft launch); however, such method is disapproved (partly because its downloading files without the player's permission) and should not be attempted.
-
[1.13.2] How to detect when a certain item is dropped?
DavidM replied to ketchup_god's topic in Modder Support
Subscribe to the ItemTossEvent. Use ItemEvent#getEntityItem (ItemEvent is the super class of ItemTossEvent) to get the EntityItem thrown. -
Minecraft crashes with forge and no mods on 1.13.2 & 1.12.2
DavidM replied to surx's topic in Support & Bug Reports
Please read the EAQ and provide the appropriate log(s). -
@The Fire Man What are you trying to accomplish?