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

xXJamie_Xx

Members
  • Content Count

    45
  • Joined

  • Last visited

Community Reputation

0 Neutral

About xXJamie_Xx

  • Rank
    Tree Puncher

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I've tried if (event.getHarvester() == null) { return; } but it still returns the error. EDIT: Moved it to before my initial IF statement and it appears to be working, thanks for the support, very much appreciated.
  2. It shouldn't do anything different but not sure how to do that?
  3. I'm using the HarvestDropsEvent to change the drops of cobblestone and gravel when using any of my mods hammers. Strangely, the game crashes when joining a world with "NullPointerException", heres the full report: https://pastebin.com/Hq6HSZG4 Heres my EventHandler class: https://pastebin.com/pLj27sKj Thanks!
  4. Solved. (wooden_hammer.json was incorrect)
  5. I followed Shadowfacts tutorial to create a mod in 1.12.2 but my item is not textured in game. I believe it is seeing the model json as previously it looked like a 3D block with the unlocalized name on the side, but now it looks like a 2D item with just the purple and black tiles. My project setup looks like this: WaterBlockUtils.java (main class) ModItems.java ItemBase.java CommonProxy.java ClientProxy.java wooden_hammer.json
  6. Hi there, Me and a friend have been experiencing this issue for a while now and cannot find a solution that fixes it. We are trying to connect to a server running on a virtual server that I am hosting. It is running a selection of mods that I have compiled into a private modpack for us to play. We are now stuck with the issue of trying to connect to the server. I have ensured that the server is running all of the correct mods and such but when we try to join we get the message "Timed Out" and then in the console it says: Thanks for all the help!
  7. ModBlocks.java: package com.xXJamie_Xx.myTweaks.init; import com.xXJamie_Xx.myTweaks.blocks.Blockhouse; import com.xXJamie_Xx.myTweaks.blocks.BlocktownCentre; import com.xXJamie_Xx.myTweaks.items.ItemScroll; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraft.item.ItemBlock; import net.minecraftforge.client.model.ModelLoader; import net.minecraftforge.fml.common.registry.GameRegistry; public class ModBlocks { //Passive/Economical Buildings
  8. It may be different but from first glance it looks very similar at least. https://pastebin.com/7J2LvPFD
  9. I see. So I commented out these lines: //GameRegistry.register(townCentre); //GameRegistry.register(house); But the game crashes still. (with the same error)
  10. No. I only use this line once: private static void registerBlock(Block block) {
  11. So you are saying that there is 2 of these: GameRegistry.register(townCentre); //COUGH #1 ItemBlock itemtowncentre = new ItemBlock(townCentre); itemtowncentre.setRegistryName(townCentre.getRegistryName()); GameRegistry.register(itemtowncentre); GameRegistry.register(townCentre); //COUGH #2 ItemBlock itemtowncentre = new ItemBlock(house); itemtowncentre.setRegistryName(house.getRegistryName()); GameRegistry.register(itemtowncentre); Yet I only see one.
  12. Excuse my lack of knowledge (I'm fairly new to modding), I can't see the issue here.
  13. I am getting a crash report from my own mod in my dev environment. It's saying something about the fact that I have registered the same block twice, but I can clearly see that it is two different blocks in my code. Github project: https://github.com/xXJamieXx/myTweaks Crash report: https://pastebin.com/ayq8Aifp
  14. https://www.youtube.com/playlist?list=PLDhiRTZ_vnoUSS_7D78_lmVLw35dQ9asn
×
×
  • Create New...

Important Information

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