Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/27/19 in all areas

  1. Did you try to set NBT of Item to this? https://minecraft.gamepedia.com/Player.dat_format#Attribute_Modifiers
    1 point
  2. Not really. IIRC caching values in a static variable and using it to look up values is faster than using values() from an enum.
    1 point
  3. Ok here are the complete steps you need to do. Download the forge mdk. Link is for 1.14.4 After it is finished downloading extract it to the folder you want to write your code it. Once it is done extracting navigate to that folder in your terminal of your choosing. For ease on Windows you can right click open powershell here or in the file directory at the top just type cmd. Once you have your terminal in that folder run the commands "gradlew genEclipseRuns" and "gradlew eclipse". If they error give us the full error. If they say build complete or whatever you are ready to start programming your mod. If you are still wanting to use notepad/text editor; you need your code to be under src/main/java/ Once you have your mod in a buildable state repeat step 3 but instead run "gradlew build" Your mod will be built and stored in build/libs/
    1 point
  4. I have the same problem and neither my friend (that runs the server) can't join . The first photo is my .minecraft/mods folder... And this one is the server "mods" folder Please help... Pd:i've already tried to eliminate the folder "mamiyaotaru" but nothing seems to change
    1 point
  5. All you need to do is override Block#getStateForPlacement to return the state with the FACING property set based on the BlockItemUseContext. You don't need to override Block#onBlockPlacedBy or set the state in the World.
    1 point
  6. No. Use the context in the method and return the BlockState you want placed.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.