Jump to content

How to get the registry name of a mob


Classic_Mushroom

Recommended Posts

I am working on a mod and I need to make one of my variables the registery name of a entity. I keep getting this error. Any Help would be MUCH appreciated. I am a Java Beginner.

C:\Users\Jeremy\MCreatorWorkspaces\Trading_Cards_ModNew\src\main\java\net\mcreator\tradingcards\procedures\CapturecardLivingEntityIsHitWithItemProcedure.java:32: error: getTypeName() has protected access in Entity 

 

Code: TradingCardsModVariables.MapVariables.get(world).please = Entity.getTypeName().getString();

 

Thank you!

Link to comment
Share on other sites

  • Guest locked this topic
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.