Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. No when it says instance there it doesn't mean your mods modid, it means an instance of your main mod class which you get from putting @Instance(MODID) public static MAINMODCLASS instance; in your Main mod class.
  2. No need for the caps. When it says instance it means @Instance(MODID) public static MAINMODCLASS instance;
  3. What is Ref.MODID? It is asking for the mods instance.
  4. Is there anything in the log. His Entity extends EntityMob
  5. Did you register this Entity? Also you should try to debug these issues yourself instead of coming straight to the forum.
  6. That is fine, though I'm not sure if Diesieben will lock it or not (I can't do that). Though I will tell you that it will be unlikely that someone can answer your problem without your Error log.
  7. There isn't one. As he said there is no reason to not update. Please update. It has been said that 1.7.10 is no longer supported.
  8. You should update to 1.10 then check out BiomeDecorator
  9. Post the error log again.
  10. Well I have no Idea why that piece of code was needed, but I guess it was necessary. But that piece of code only makes it spawn at light levels 8 and lower. There was no need to change that I think do you want it to spawn at high light levels or low light levels like mobs? If so that was fine, but since you want it to only spawn underground you need to add worldObj.canBlockSeeSky(blockPos) to the getCanSpawnHere() method
  11. What is with this.rand.nextInt(32) You should also check to see if the entities pos can see sunlight using worldObj.canBlockSeeSky(blockPos)
  12. Well as long as the class path extends EntityLiving you should be able to use getCanSpawnHere() and could you show me how you edited it.
  13. You mean your Entity is a passive entity?
  14. In your Entity class you need to override this method public boolean getCanSpawnHere() { return this.worldObj.getDifficulty() != EnumDifficulty.PEACEFUL && this.isValidLightLevel() && super.getCanSpawnHere(); } To add the entity to spawn just loop through all the biomes from BiomeGenBase use EntityRegistry.addSpawn()
  15. It is weird, but I think it may have something to do with this 1. Creates a new NBTTagCompound 2. The new NBTTagCompound is equal to tileEntity.writeToNBT(the new NBTTagCompound) 3. NBTTagCompound is saved to disk. I think that is how it works and don't know why they changed it. Diesieben or someone if you know why they changed it and/or how it works feel free to post or pm me about it.
  16. The one that was passed in.
  17. They changed the methods return type instead of void it's NBTTagCompound.
  18. Well since you copied them...I doubt you know what they do.... But now you need to make new Slot classes one for Output and one for FuelInput unless you are using the Normal Furnaces Fuel.
  19. Container Furnace and GuiFurnace Do not make them exact copies there need to be changes if you want to use your own custom recipes.
  20. { "parent": "block/orientable", "textures": { "top": "modid:blocks/texture_top", "front": "modid:blocks/texture_front_off", "side": "modid:blocks/texture_side" } }
  21. First a suggestion instead of public static void setState(boolean active, World worldIn, BlockPos pos) { BlockMachine.setState(active, worldIn, pos, ModBlocks.FLUXGRINDERWORKING, ModBlocks.FLUXGRINDER); } Use public static void setState(boolean active, World worldIn, BlockPos pos) { super.setState(active, worldIn, pos, activeBlock, nonActiveBlock); } But back on topic did you look at the JSON aswell?
  22. So the problem you are having is that when you place it, it faces the complete opposite way?
  23. You should update to 1.10 aswell

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.