Jump to content
  • Home
  • Files
  • Docs
  • Merch
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.8] Help with 1.8 things please
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 0
Chaka15205

[1.8] Help with 1.8 things please

By Chaka15205, November 27, 2014 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

Chaka15205    0

Chaka15205

Chaka15205    0

  • Tree Puncher
  • Chaka15205
  • Members
  • 0
  • 22 posts
Posted November 27, 2014

How do i register items and blocks in forge 1.8 

  • Quote

Share this post


Link to post
Share on other sites

diesieben07    6674

diesieben07

diesieben07    6674

  • Reality Controller
  • diesieben07
  • Forum Team
  • 6674
  • 45649 posts
Posted November 27, 2014

Same as always. This might help though: http://www.minecraftforge.net/forum/index.php/topic,24263.0.html

  • Quote

Share this post


Link to post
Share on other sites

Chaka15205    0

Chaka15205

Chaka15205    0

  • Tree Puncher
  • Chaka15205
  • Members
  • 0
  • 22 posts
Posted November 27, 2014

Thanks

  • Quote

Share this post


Link to post
Share on other sites

Chaka15205    0

Chaka15205

Chaka15205    0

  • Tree Puncher
  • Chaka15205
  • Members
  • 0
  • 22 posts
Posted November 27, 2014

Ok, Now i cant get the textures to work, Here is my code  https://github.com/BackWoodsMod/TheBackWoods-1.8  and my items render as a block in my inventory  Ive tried everything i can think of.

  • Quote

Share this post


Link to post
Share on other sites

grand_mind1    3

grand_mind1

grand_mind1    3

  • Creeper Killer
  • grand_mind1
  • Members
  • 3
  • 122 posts
Posted November 27, 2014

In your ModItems class

https://github.com/BackWoodsMod/TheBackWoods-1.8/blob/master/src/main/java/com/chaka/thebackwoods/init/ModItems.java#L16

 

Replace "modid:amethystItem" with

Reference.MOD_ID + ":amethystItem"

I also think you need to rename test.json to amethystItem.json.

 

Also, on an unrelated note, I believe items and blocks should be initialized in the preInit() method, not init().

  • Quote

Share this post


Link to post
Share on other sites

Chaka15205    0

Chaka15205

Chaka15205    0

  • Tree Puncher
  • Chaka15205
  • Members
  • 0
  • 22 posts
Posted November 27, 2014

I am still having trouble getting my items and blocks to get textures can i get any help.

  • Quote

Share this post


Link to post
Share on other sites

TheGreyGhost    711

TheGreyGhost

TheGreyGhost    711

  • Reality Controller
  • TheGreyGhost
  • Members
  • 711
  • 2805 posts
Posted November 27, 2014

Hi

 

Show us your code and describe the symptoms of your problem (including error logs)?

 

-TGG

  • Quote

Share this post


Link to post
Share on other sites

Chaka15205    0

Chaka15205

Chaka15205    0

  • Tree Puncher
  • Chaka15205
  • Members
  • 0
  • 22 posts
Posted November 27, 2014

https://github.com/BackWoodsMod/TheBackWoods-1.8

 

My code is there.

 

Problems:

My Items render as a block in my inventory

Blocks and Items have no texture (I dont know how to get the textures to work)

I am also having trouble updating my OreGeneration Class

  • Quote

Share this post


Link to post
Share on other sites

Chaka15205    0

Chaka15205

Chaka15205    0

  • Tree Puncher
  • Chaka15205
  • Members
  • 0
  • 22 posts
Posted November 28, 2014

I got items to work, My blocks and ore gen still dont work

  • Quote

Share this post


Link to post
Share on other sites

JDLogic    2

JDLogic

JDLogic    2

  • Tree Puncher
  • JDLogic
  • Members
  • 2
  • 5 posts
Posted November 28, 2014

Made a PR that might help. I don't know about the ore gen though. :/

 

Edit: Looked into the ore gen some more and got that working too. Added to PR.

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • BattleDash
      Get all players connected to a bungee server

      By BattleDash · Posted 41 minutes ago

      Hello all, I'm trying to make a mod that can tell you all the players on a bungee server you're connected to, I've never worked with Forge before and this API is very abstract to me compared to plugin development which is what I normally do. Does anyone know how I would go about getting a list of Player Entities of every player on the network you're connected to?
    • Draco18s
      Trouble getting contents of a Chest

      By Draco18s · Posted 1 hour ago

      It isn't merged, so it won't work yet.
    • saxon564
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564 · Posted 2 hours ago

      Does anyone else have any thoughts as to what might be causing this issue?
    • diesieben07
      [1.12.2] How can I close GUI in Forge?

      By diesieben07 · Posted 2 hours ago

      You cannot call Minecraft methods from a separate thread. You need to wait a tick using ClientTickEvent.
    • bismuth210
      [1.12.2] Killing fireworks in unloaded chunks

      By bismuth210 · Posted 2 hours ago

      I'm creating a custom gamemode using forge in which players get teleported around regularly. I've run into a problem when I do the following:   I spawn a firework rocket near a player I teleport the player to a different location I wait a couple of seconds (or minutes) I teleport the player back to the same location as in step 1. Doing this will show the firework spawned in step 1 in step 4, despite significant time having passed in 3. This video shows what I mean:   I suspect the reason for why this happens is because once I teleport the player somewhere else, the chunk with the firework is no longer loaded and doesn't get updated.   Is there a simple way for me to simply "get rid" of all active fireworks shortly before teleporting players so that this doesn't occur? Or do I really have to forcibly keep all chunks loaded? To be more clear: I don't want to disable fireworks all together, but I don't want remnants of old fireworks showing up when I teleport players. "Killing" all firework rockets when I teleport a player would work fine, but I don't know if/how I can do that.   I've tried using /kill @e[type=!player] But that doesn't work for firework rockets apparently.
  • Topics

    • BattleDash
      0
      Get all players connected to a bungee server

      By BattleDash
      Started 41 minutes ago

    • MattNL
      5
      Trouble getting contents of a Chest

      By MattNL
      Started 12 hours ago

    • saxon564
      12
      [1.14.4] [UNSOLVED] Server Thread Freezes After Entity Explodes

      By saxon564
      Started Friday at 05:11 AM

    • Filip4223
      5
      [1.12.2] How can I close GUI in Forge?

      By Filip4223
      Started 3 hours ago

    • bismuth210
      0
      [1.12.2] Killing fireworks in unloaded chunks

      By bismuth210
      Started 2 hours ago

  • Who's Online (See full list)

    • Yanny7
    • BattleDash
    • DragonITA
    • vaartis
    • Choonster
    • no namezzzz
    • imacatlolol
    • Cerandior
    • M1ntcraft3r
    • AntonBespoiasov
    • loordgek
    • ROMVoid
    • diesieben07
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • [1.8] Help with 1.8 things please
  • Theme
  • Contact Us
  • Discord

Copyright © 2019 ForgeDevelopment LLC · Ads by Curse Powered by Invision Community