-
Content Count
1141 -
Joined
-
Last visited
-
Days Won
8
DavidM last won the day on October 6
DavidM had the most liked content!
Community Reputation
104 ExcellentAbout DavidM
-
Rank
World Shaper
Converted
-
Gender
Male
-
Location
Kalimdor, Azeroth
Recent Profile Visitors
5589 profile views
-
[1.12.2] plugin with id 'net.minecraftforge.gradle.forge' not found
DavidM replied to vMystic's topic in Modder Support
The console output literally points to build.gradle... -
You never assigned a value to the tileEntity field.
-
It is the same as Item, but you need to apply it to the BlockItem form of the block.
-
Forge server kicking players randomly, sometimes unable to join
DavidM replied to Kull's topic in Support & Bug Reports
Please post the server log of when someone got kicked. -
No need to mess with MCP. Simply download the 1.14 mdk and copy the src from 1.12 to 1.14. Then fix all the mapping changes and other changes with your IDE.
-
It's basically the same in Java as in C++; just invoke the constructor of BlockPos. BlockPos pos = new BlockPos(x, y, z); Note that everything in Java apart from primitive values is a pointer. However, you should learn Java before making a mod, as the Forge API can be a bit confusing for new modders, and not knowing Java will greatly increase the difficulty of learning to mod. if(Minecraft.getInstance().gameSettings.keyBindSprint.isKeyDown()) { worldIn.setBlockState(pos, Blocks.NOTE_BLOCK.getDefaultState().with(NOTE, _new)); } else { worldIn.setBlockState(pos, ModBlocks.noteblock_low.getDefaultState().with(NOTE, _new)); } You are reaching across logical sides. This will crash on a dedicated server, as the Minecraft class only exists on the client, while all World interactions should be done on the server. You should send a packet to the server about the pressing of the key bind and set the BlockState on the server side.
-
This thread is not relevant to your problem. Please make your own thread.
-
You can try building the mod and running a Forge server with it. This would cause a crash once the class referencing client-only components are loaded. I am not sure why servers started with runServer do not remove client-specific classes, but those classes will be removed on server side outside of development, thus causing a crash.
-
Electroblob Wizardry is crashing. Remove it and report to its author. You can download mods at curseforge.com
-
No. You are still reaching across logical sides. Use packets.
-
Damaging the Entity (and all Entity related operations in general) must be done on the server side, yet your code is executing on the client (indicated by the usage of Minecraft class). You would need to send a packet to the server to inform it about the action, then damage the Entity on the server.
-
my mods aren't appearing only forge does
DavidM replied to Mylystra's topic in Support & Bug Reports
You clicked on an advertisement instead of the download link. After clicking on the download link on Forge site, you will be redirected to AdFoc. Wait a few seconds and click on the “Skip Ad” button on the top right corner.