-
Posts
1830 -
Joined
-
Last visited
-
Days Won
12
Everything posted by DavidM
-
Universal Minecraft Editor not saving on Java 1.12.2
DavidM replied to Raidendaddy's topic in General Discussion
@ForeverLore This thread is old. Please create your own thread for your question. -
Post the entire log.
-
Custom damage source. Create a class extending DamageSource and pass an instance of the new class as the damage source parameter when you damage an entity.
-
404 Page not found. Possibly.
-
That page is invalid.
-
You need to follow the directions we gave you. Please run the forge jar via the command line. Launch that jar file in the command line.
-
Trouble with installing lucky block mod on 1.12.2
DavidM replied to luukieoost1's topic in Support & Bug Reports
Post your logs according to the EAQ. 1. Where are you getting your mods? 2. Please check you've downloaded the mod for the correct version. The words "zip", "mod", and "1.12.2" should never belong in the same sentence. -
Judging from the screenshot, you might want to return RenderLayer.TRANSPARENT (can't remember the spelling) instead of CUTOUT. For more information, please read http://greyminecraftcoder.blogspot.com/2014/12/transparent-blocks-18.html. This tutorial is for 1.8; however, the concept of block layers remains the same.
-
[1.13.2] How to create rotating blocks with facing *SOLVED*
DavidM replied to buonasnatios's topic in Modder Support
IIRC you need to override Block#fillStateContainer and add your state to the builder. -
Key press -> Sends packet to server containing where to spawn the entity -> Server receives the packet -> Server spawns entity based on the data in the packet.
-
My Google Chrome doesn't trust Forge :/
DavidM replied to MistyLeopard132's topic in Support & Bug Reports
Make sure you are actually downloading the Forge file and not some random files from ads on the download page. If you are sure you've downloaded the correct file, then you can open it. -
Define "it's solid". Remember to override Block#getRenderLayer to return RenderLayer.CUTOUT though.
-
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. Read the EAQ. 2. What version of Minecraft are you playing? 3. Where are you getting your mods?
-
[1.12.2] problem with sending fluidtank to client
DavidM replied to Tieso2001's topic in Modder Support
You can use packets. -
My forge server crashes when I go in or out a dimension
DavidM replied to Voltyx's topic in Support & Bug Reports
Please read the EAQ and provide the appropriate log(s). -
[1.12.2]Modding: Item the opens a GUI when right-clicked
DavidM replied to Jigokusaru's topic in Modder Support
There are plenty of examples and tutorials online. -
I didn't have a problem in this thread though... The OP is @Plugin. I'm glad that you are trying to help others; however, the problem you are encountering is not exactly the same as what the OP is asking help for. In the future, please create a new thread for your problem, as having multiple problems in one thread can cause confusions.
-
[1.12.2]Modding: Item the opens a GUI when right-clicked
DavidM replied to Jigokusaru's topic in Modder Support
Attach an IItemHandler capability to your item. Read: https://mcforge.readthedocs.io/en/latest/datastorage/capabilities/ Then, create a GUI (and a container) for the item's inventory and open it in Item#onItemUse. You can create a custom Slot class and override the canAccept (can't remember the spelling) method to check if the ItemStacks to be inserted match your criteria and use it as the slots in your container. -
Minecraft Modding - GUI Communication Client-Server
DavidM replied to poussinsuamd's topic in Modder Support
Use packets. Create a custom packet with the necessary information and send it to the server when the player does something in the GUI. -
That's exactly why you should use the @Override annotation.
-
That is suppose to happen; the @Override annotation should give a compile-time error when the method associated with it does not override a super method. Make sure the return type and parameters of your onArmorTickUpdate matches the return type and parameters of the onArmorTickUpdate method in the class you are overriding. If you still cannot understand what you are suppose to do, the I'm afraid you might not be ready to make Minecraft mods. You should have basic Java knowledge, which includes overriding and inheritance, before attempting to make a mod. I would recommend looking up some Java tutorials in order to get familiar with Java before making mods.
-
You still did not annotate your onArmorTickUpdate method with the @Override annotation.
-
1. Do not create "base" classes (ItemBase, BlockBase, etc). Do not abuse inheritance to write less code. 2. Remember to check the side by using World#isRemote. 3. Are you sure you want to use a while loop there? (Hint: no) 4. Annotates your methods that are meant to override methods from the parent class with the @Override annotation (onArmorTickUpdate in this case). This is leading to your current problem, as the method signature of your onArmorTickUpdate method does not match that of its super method.