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.

Itz_Yuseix

Members
  • Joined

  • Last visited

Everything posted by Itz_Yuseix

  1. ClientProxy.javaDemonSlayerMain.javaCommonProxy.javaespada.json espada.obj espada.mtl
  2. espada.jsonespada01.objespada01.mtl
  3. this is my item class package addon.dsm.items; import addon.dsm.armor.model.ModeloRopas; import addon.dsm.main.DemonSlayerMain; import addon.dsm.main.IHasModel; import net.minecraft.client.model.ModelBiped; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.EntityLivingBase; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.item.Item; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemArmor.ArmorMaterial; import net.minecraft.item.ItemStack; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class DSMRopa1 extends ItemArmor implements IHasModel{ public DSMRopa1(String name, CreativeTabs tab, ArmorMaterial materialIn, EntityEquipmentSlot equipmentSlotIn) { super(materialIn, 1, equipmentSlotIn); setUnlocalizedName(name); setRegistryName(name); setCreativeTab(tab); setMaxStackSize(1); ModItems.ITEMS.add(this); } @Override public void registerModels() { DemonSlayerMain.proxy.registerItemRenderer(this, 0, "inventory"); } @SideOnly(Side.CLIENT) @Override public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, EntityEquipmentSlot armorSlot, ModelBiped _default) { if(!itemStack.isEmpty()) { if(itemStack.getItem() instanceof ItemArmor) { ModeloRopas armorModel = new ModeloRopas(0.25f); ModeloRopas armorModelLegs = new ModeloRopas(0.25f); armorModel.bipedBody.showModel = (armorSlot == EntityEquipmentSlot.CHEST) || (armorSlot == EntityEquipmentSlot.CHEST); armorModel.bipedRightArm.showModel = armorSlot == EntityEquipmentSlot.CHEST; armorModel.bipedLeftArm.showModel = armorSlot == EntityEquipmentSlot.CHEST; armorModelLegs.bipedRightLeg.showModel = (armorSlot == EntityEquipmentSlot.LEGS) || (armorSlot == EntityEquipmentSlot.FEET); armorModelLegs.bipedLeftLeg.showModel = (armorSlot == EntityEquipmentSlot.LEGS) || (armorSlot == EntityEquipmentSlot.FEET); armorModel.isSneak = _default.isSneak; armorModel.isRiding = _default.isRiding; armorModel.isChild = _default.isChild; armorModel.rightArmPose = _default.rightArmPose; armorModel.leftArmPose = _default.leftArmPose; armorModelLegs.isSneak = _default.isSneak; armorModelLegs.isRiding = _default.isRiding; armorModelLegs.isChild = _default.isChild; armorModelLegs.rightArmPose = _default.rightArmPose; armorModelLegs.leftArmPose = _default.leftArmPose; return armorModel; } } return null; } }
  4. i dont know why m y obj model not loading help meDemonSlayerMain.java ClientProxy.java ItemSword.java Espada.mtl Espada.obj Espada.json
  5. i dont understands its post help me please.
  6. I wanna make something to similar to this (not is a skin)
  7. any idea? pls i wanna create my mod of Dragon ball, i want to create majin race
  8. i wanna make an armor similar to a normal skin
  9. i wanna make an armor similar to a normal skin
  10. i wanna create a biped armor
  11. If you have an idea tell me pls. Example: an armor glued to the body
  12. @SubscribeEvent public static void onItemRegister(RegistryEvent.Register<Item> event) { event.getRegistry().registerAll(ModItems.ITEMS.toArray(new Item[0])); } @SubscribeEvent public static void onBlockRegister(RegistryEvent.Register<Block> event) { event.getRegistry().registerAll(ModBlocks.BLOCKS.toArray(new Block[0])); } @SubscribeEvent public static void onModelRegister(ModelRegistryEvent event) { for(Item item : ModItems.ITEMS) { if(item instanceof IHasModel) { ((IHasModel)item).registerModels(); } } for(Block block : ModBlocks.BLOCKS) { if(block instanceof IHasModel) { ((IHasModel)block).registerModels(); } } } }
  13. my json file: { "parent": "item/generated", "textures": { "layer0": "dsm:items/Prueba" } }
  14. hello, idk why my custom mob model is bug if you to know the fix answer me

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.