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


  • Posts

  • Joined

  • Last visited

Everything posted by Okmeis

  1. If I understand you right, I think I have a similar issue at the moment ^^
  2. Hello there ^^/ I created a prototype for my tophat, but I want that it has the dye ability of leather armor, so that I can create 256*256*256 different color versions of it. What do I have to do to realize that? (I don't know what I tried a week ago, but there are already unused methods (getColor, removeColor and setColor) in my ColorableArmorItem object.) Greeting, Okmeis ^^/
  3. Try something like this in your ArmorItem Class: @SuppressWarnings("unchecked") @Nullable @Override public <A extends BipedModel<?>> A getArmorModel(LivingEntity entityLiving, ItemStack itemStack, EquipmentSlotType armorSlot, A _default) { YourModelObject model = new YourModelObject(); model.bipedHeadwear.showModel = armorSlot == EquipmentSlotType.HEAD; model.isChild = _default.isChild; model.isSneak = _default.isSneak; model.isSitting = _default.isSitting; model.rightArmPose = _default.rightArmPose; model.leftArmPose = _default.leftArmPose; return (A) model; } @Nullable @Override public String getArmorTexture(ItemStack stack, Entity entity, EquipmentSlotType slot, String type) { return "yourmodid:textures/models/armor/yourtexturename.png"; } Does it work?
  4. I guess the most changes are Namechanges anyway (Class and function name changes). For example - ModelRenderer renamed to RendererModel - Methodes like haskey (in some color method or something) to contains or something, etc. - There are maybe one or two package changes as well, but there aren't that much of changes.
  5. [PLS delete this comment, I did a mistake by additing the other comment and quoted it]
  6. Can you post your log? And what happens if you're using a way simpler model like just a cube? Also, how did you implement the wearing? Maybe the problem is in your solution? Or your hat model json isn't that much compatible(like json says +5 to the left and the javacode understands +5 to the left etc.) with the (armor (BipedModel?) ) modeling functions.
  7. Ok, omg, I solved it, you don't know how happy I'm now. I simply copied the pack.mcmeta file from my 11.2 mod to my 14.3 mod into Desktop\Mods\src\main\resourcesresources and it worked. Omg. Problem solved! Have a wonderfull night everyone.
  8. Ok, maybe I misunderstood the problem, I found this in the console: The last line says build\resources\pack.mcmeta\pack.mcmeta
  9. Hello there ^^/ I didn't mod for, uhm, I think two or three years now. When I tried to write a simple 1.14.3 Mod (which should just add an item to the game) this week, the following appeared: So I opened the log and found this: "[04Jul2019 22:25:56.748] [Server-Worker-1/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'okismod:coin#inventory' referenced from: okismod:coin#inventory: java.io.FileNotFoundException: okismod:models/item/coin.json" But \Desktop\Mods\src\main\resources\assets\okismod\models\item\coin.json { "parent": "item/generated", "textures": { "layer0": "okismod:items/coin" } } and/or (i tried both) { "parent": "item/generated", "textures": { "layer0": "okismod:item/coin" } } \Desktop\Mods\src\main\resources\assets\okismod\textures\items and/or \Desktop\Mods\src\main\resources\assets\okismod\textures\item\coin.png (16x16 pixels) (i tried both) \Desktop\Mods\src\main\resources\assets\okismod\lang.en_us.json { "item.okismod.coin": "Golden Coin" } do exist. The result of my coin ingame is: - missing texture (purple/black block) - missing name So, uhm, does anyone know what I did wrong?
  • Create New...

Important Information

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