Jump to content

RedHeadEmile

Members
  • Posts

    7
  • Joined

  • Last visited

Converted

  • Gender
    Male

RedHeadEmile's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. You means modding ? If yes just follow https://mcforge.readthedocs.io/en/1.15.x/ If you means mcp, unzip the version that you want (http://www.modcoderpack.com/website/releases) then follow a tutorial If you think it's eclipse, check if you're using JDK8 (not 13)
  2. Hello, I try to read modlist of a player from spigot. So I read the doc of FML2 handshake, now I know I have to send - -2 as byte to do a handshake reset - 0 as byte ; 2 as byte ; 1 as int to do a serverHello Then wait the client's response. But in the client console �[m�[1;31m[19:14:22] [Render thread/ERROR] [ne.mi.fm.ne.si.IndexedMessageCodec/SIMPLENET]: Received invalid discriminator byte 254 on channel fml:handshake �[m�[33m[19:14:22] [Render thread/WARN] [minecraft/ClientPlayNetHandler]: Unknown custom packet identifier: fml:handshake �[m�[1;31m[19:14:22] [Render thread/ERROR] [ne.mi.fm.ne.si.IndexedMessageCodec/SIMPLENET]: Received invalid discriminator byte 0 on channel fml:handshake �[m�[33m[19:14:22] [Render thread/WARN] [minecraft/ClientPlayNetHandler]: Unknown custom packet identifier: fml:handshake An idea ? Thank you a lot.
  3. Okay, thanks for this explanation, I started and I just followed the tutorials of MrCrayfish.
  4. Okay, thanks, i replace "builtin" with"item"
  5. My JSON file : { "parent": "builtin/generated", "textures": { "layer0": "redmod:items/redblue_fragment" } }
  6. Hi, I have a problem, it's this : My item is big and I don't know why. And, I'm in 1.9.4, my code : In first : public class ItemRedBlue_Fragment extends Item { public ItemRedBlue_Fragment() { setUnlocalizedName(Reference.Items.FRAGMENT.getUnlocalizedName()); setRegistryName(Reference.Items.FRAGMENT.getRegistryName()); setMaxStackSize(120); } } After : public class ModItems { public static Item redblue_fragment; public static void init() { redblue_fragment = new ItemRedBlue_Fragment(); } public static void register() { GameRegistry.register(redblue_fragment); } public static void registerRenders() { registerRender(redblue_fragment); } private static void registerRender(Item i) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(i, 0, new ModelResourceLocation(i.getRegistryName(), "inventory")); } } (The function register is call in the FMLPreInitializationEvent)
×
×
  • Create New...

Important Information

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