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.

Entonez

Members
  • Joined

  • Last visited

Everything posted by Entonez

  1. I've been trying to render my sword but it wont render correctly, but it does not look correct in game, can anyone help me please? nichirinblack.json { "parent": "item/handheld", "textures": { "layer0": "dslayer:items/nichirinblack" } } ClientEvents.java package me.entonez.dslayer.utils; import me.entonez.dslayer.items.ItemRegistry; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.client.event.ModelRegistryEvent; import net.minecraftforge.client.model.ModelLoader; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.relauncher.Side; @EventBusSubscriber(modid = RefStrings.MODID, value = Side.CLIENT) public final class ClientEvents { @SubscribeEvent public static void registerModels(ModelRegistryEvent event) { registerModel(ItemRegistry.kblack); } private static void registerModel(Item item) { ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory")); } } ClientProxy.java package me.entonez.dslayer.proxies; import me.entonez.dslayer.client.gui.GuiBreath; import me.entonez.dslayer.client.render.Renders; import me.entonez.dslayer.utils.KeyInputHandler; import me.entonez.dslayer.utils.Keybinds; import me.entonez.dslayer.utils.RefStrings; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraftforge.client.model.ModelLoader; import net.minecraftforge.client.model.obj.OBJLoader; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.network.simpleimpl.MessageContext; public class ClientProxy extends ServerProxy { public void preInit() { Keybinds.register(); MinecraftForge.EVENT_BUS.register(new KeyInputHandler()); } public void postInit() { } @Override public void addOBJLoaderDomainIfOnClient() { OBJLoader.INSTANCE.addDomain(RefStrings.MODID); } @Override public void registerItemRenderer(Item item, int meta, String id) { ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id)); } @Override public EntityPlayer getPlayerFromMessage(final MessageContext ctx) { return (EntityPlayer)Minecraft.getMinecraft().player; } @Override public void initRenders() { Renders.renderEntities(); MinecraftForge.EVENT_BUS.register((Object)new GuiBreath(Minecraft.getMinecraft())); } }
  2. Which forge version should I use to start modding with the current times? If anyone could let me know, I would appreciate that, I would assume it would be 1.15 or something like that, but I just want to be sure.
  3. So I have been looking for an api to look at for 1.12.2, I'm not sure if this version is still supported and I apologize if it isn't, but I was wondering if anyone has a good explanation or practical way to learn how to use particles to create animations such as circles(2d) or spheres?

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.