Jump to content

Recommended Posts

Posted

I am working on a mod based on Steven Universe. Steven Universe has a basic concept of gems, which are living entities based on the physical objects. Each gem has a gem placement, and can also be reduced to their item form. Once they reform all of the "data" is restored including the gem placement.

Example:

Ruby 1 has a gem on her right eye. Ruby 2 has her gem on her left eye. Ruby 1 is reduced to her gem by Ruby 2. Ruby 1 reforms with her gem on her right eye.

Now, the code I'm using works fine on randomly assigning a gem and representing it. The problem is that after a gem is reduced to its gem and reforms, the gem is no longer visible.

The layer that represents the gemstone is also an item instead of a textured layer. The item that represents the gemstone is what also represents the gem placement. 

I don't know how to get the item to reappear after the gem reforms.

The attached files are filed I believe may be the cause of this problem.

EntityGem.javaFetching info... LayerGemstone.javaFetching info... ItemGemstone.javaFetching info...

Posted
  On 8/30/2020 at 2:39 PM, logdawg940 said:

Could you tell me where to receive help then?

Expand  

Tecnically he already answered that..to receive support on this forum you have to update your mod to a newer version of forge but..if you really want to keep writing for 1.12 your best sources are:

1) Vanilla code

2) The tons of open source 1.12 mods that you can easily look into, because chances are high that another mod has already done something similar you can take inspiration from...also "tutorial" or "example mods" around the web you can get some help from

Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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