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

bouwmeester2003

Members
  • Content Count

    66
  • Joined

  • Last visited

Everything posted by bouwmeester2003

  1. yeah i'm new to mod coding now a bit of java but still learning java now some basic things but i come from the spigot plugin side
  2. i don't want to make an github don't want to make it open-source it's still in development gonna realease it soon and what i did imported IBlockState needs to be IBlockAccess. about open-source maybe in the feature i'm gonna make some sort of api or something for my mod and that you can use it for you're mod
  3. now i'm getting the error Method does not override Method from it's super class
  4. how did they do it with obsidian obsidian is breakable only by an diamond pickaxe isn't it
  5. did it already with if (harvesters.get() != null) { player = harvesters.get(); Item pickaxe = player.getHeldItemMainhand().getItem(); if (pickaxe.equals(ItemInit.CLOUD_PICKAXE)) { return; } else { setBlockUnbreakable(); } } but didn't work
  6. yeah but how to make it with that that it's only breakable by own pickaxe
  7. yeah so how can i make it that you can only break that block with cloud pickaxe and not with other pickaxes
  8. thanks my idea is to make a block that is unbreakable with diamond or lower but with the cloud pickaxe it's breakable
  9. i've made an pickaxe and an block but the problem is that i want to make the block only be harvestable by that particulair pickaxe and no other but it want succeed with setharvestlevel here the code: pickaxe: package com.CloudyProductions.DreamMod.heaven.items; import com.CloudyProductions.DreamMod.Main; import com.CloudyProductions.DreamMod.init.ItemInit; import com.CloudyProductions.DreamMod.util.DevMode; import com.CloudyProductions.DreamMod.util.IHasModel; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.ItemPickaxe; public class ToolPi
  10. yeah i know i did it only so i could easier make new blocks and that you can use the mod as an sort of api to make your own blocks IHasModel has only one code public interface IHasModel { public void registerModels(); } and in the other class i do public void registerModels() { Main.proxy.registerItemRendere(Item.getItemFromBlock(this), 0, "inventory"); } in client proxy i do @Override public void registerItemRendere(Item item, int meta, String id) { ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id));
  11. think i know what i did wrong did not implemented in the PilarBaseUnbreakable class IHasModel
  12. still doesn't work someone help me no errors in log only in inventory you have no model
  13. gonna try it now with in the blockstate file { "variants":{ "axis=y": { "model": "dreammod:block_column_cloud" }, "axis=z": { "model": "dreammod:block_column_cloud", "x": 90 }, "axis=x": { "model": "dreammod:block_column_cloud", "x": 90, "y": 90 }, "inventory": {"model": "dreammod:block_column_cloud", "transform": "forge:default-block"} } } maybe it works
  14. the problem is it has textures but in inventory bar doesn't display them
  15. my log: [14:47:19] [Client thread/INFO] [FML]: MinecraftForge v14.23.5.2784 Initialized [14:47:19] [Client thread/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients. [14:47:19] [Client thread/INFO] [FML]: Replaced 1036 ore ingredients [14:47:22] [Client thread/INFO] [FML]: Searching C:\Users\milan.000\Documents\MEGA\dreammod\run\.\mods for mods [14:47:23] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 189398482 nanos [14:47:33] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [14:47:35] [Client
×
×
  • Create New...

Important Information

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