Jump to content

LittleEzra

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

LittleEzra's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I'm trying to add a custom statistic for how many Easter eggs the player has found to my mod but haven't found any information on how to do this properly. I tried copying the makeCustomStat() method from the Stats class but that gives me the error "Registry is already frozen (trying to add key ResourceKey[minecraft:custom_stat / minecraft:easter_eggs_found])" when I try to use the stat. Does anyone know how to properly add a custom stat?
  2. I am currently trying to make a flare using a server to client packet that sends a message in chat for every player on the server. This message needs information about the player that sent it (their name and position). I haven't been able to figure out how to get a player from inside a constructor that only takes in a FriendlyByteBuf storing their UUID.
  3. The problem seems to just have been not enough memory. I didn't notice the log it created until now. Simply restarting my computer helped.
  4. When I use runData or runClient they simply don't do anything. It seems that they don't execute any of the sub steps. One time when I ran runData it said that I was using deprecated gradle features, but now it just doesn't do anything. This is what it says in the console when I use runData: 19:16:54: Executing task 'runData'... Starting Gradle Daemon... Gradle Daemon started in 1 s 291 ms > Configure project : Java: 17.0.4.1, JVM: 17.0.4.1+1 (Eclipse Adoptium), Arch: amd64 19:17:03: Task execution finished 'runData'. and it ends with the normal connection closed error. It says basically the same when I use runClient. I was working on a block entity before it didn't work, if that helps.
  5. I have an entity that I want to be able to hold weapons. I am using Geckolib 3.1.28 and forge 43.1.52. I followed the tutorial on the Geckolib wiki and managed to get the item rendering, but without the rotation the model should have. I was wondering how to make it render with the proper display settings.
×
×
  • Create New...

Important Information

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