Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

  • Days Won


Terrails last won the day on June 3 2018

Terrails had the most liked content!


  • Gender

Recent Profile Visitors

5631 profile views

Terrails's Achievements

Creeper Killer

Creeper Killer (4/8)



  1. There's an issue on this matter already. We're just waiting for someone to make a PR for it. It will probably take some time since it needs quite a bit of patches.
  2. META-INF file is used for ATs, doesn't have to do anything with Maven. If you're using IntelliJ just add the .jar files to the libs folder and it will work, you will probably have to refresh gradle by using that button in gradle module, If you're using Eclipse you have to add something to your gradle.build file for it to work dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) // For all .jar files in folder compile files('libs/file_name.jar') // For one .jar file in folder } The mod will be ran with the client too, adding it again to the mods folder will just cause a duplicate mods error. NOTE: Make sure to use deobfuscated jar files.
  3. If you use @EventBusSubscriber you have to make the event method static
  4. What even... 1. your modid is "fm" out of the sudden now? Don't use a short modid like that, use "fishoverload" like you used before. 2. Your whole assets folder is a mess. The json is pointing at something entirely different. Why is "assets:" inside the resource location, you should only use the modid as the resource domain, in your case "fishoverload:texture_location", and lastly you're missing the texture.
  5. I'm guessing its the json, since its missing a bracket at the start and the end
  6. Your file is fishoverload:models/item/FishBowl.json With that we have problematic code #13 The name is wrong and its not lower case. It has to be like the exception says Caused by: java.io.FileNotFoundException: fishoverload:models/item/fish_bowl.json
  7. I meant when you override a method for your custom block/item... some of them have World as parameter
  8. using Minecraft will only work on client, you'll crash when you run a dedicated server... you should probably use world instance from the parameters of a method in case of Block/Item, Events.... and from the class in case of TileEntity... etc. Look at sides for more info
  9. To see if the server is dedicated or integrated just use MinecraftServer#isDedicatedServer... for LAN world I think maybe checking if the server is integrated and MinecraftServer#getPlayerList has 2 or more players. I think you will have to use packets to do something on the client for the change dimension and respawn events. For checking the minecraft version use ForgeVersion.mcVersion (I use that but you can also use MinecraftForge.MC_VERSION or Loader.MC_VERSION since it connects to the same thing)
  10. You should learn more about sides... for example you're using server side in onBlockAdded for TileEntityPlasmaCannon#getstate which means that data isn't stored on the client, if you need it on the client you have to send a packet to the client or just get rid of if (!worldIn.isRemote) and make TileEntityPlasmaCannon#getstate be started on both sides. You're also updating the TileEntityPlasmaCannon.powerfactor on server side only... thats why there's nothing on client side (its always 0)... also you're just making your code 4 times bigger because you're not using I know this is gonna be kind of annoying but you should learn more java... trust me I've been where you are now 2 years ago but now I'm a lot better.
  11. its something with your fireplasma method then... need a crash report. Tile gets created together with the block. what you’re doing with World#getTileEntity is just getting the tile entity that is on that pos
  12. You're not calling this method anywhere. The tile wasn't even registered, also you should probably update forge since that GameRegistry#registerTileEntity method was deprecated... you should use the one with ResourceLocation parameter instead of string... or just make the string be like this "modid:tilename"
  13. it will not crash the game... you're just getting the tile from that location, the tile was already created before onBlockAdded, onBlockActivated... etc
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.