Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

moyas1009

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

1 Neutral

About moyas1009

  • Rank
    Tree Puncher
  1. Yeah its definitely saving, but you were right, I checked my readNBT method and I was using the wrong setter method, It works now, thanks
  2. Hi, I'm having a problem, I implemented a capability but whenever I leave and rejoin the world it resets to the default value, I've tried copying player data from the playerclone event. Should I copy the data over on another event or what should I do so it persists?
  3. Hi, I am making a new layer for the Player model, I have already gotten the layer to render in. My question is how do I make it so the layer has a texture because out of all the things I've tried none have worked. Any help would be greatly appreciated
  4. Hi, I'm making a layer that goes over the player's head, so far I've gotten the model to render correctly but I don't know what to put in the json so that the texture renders or if I should even make a json in the first place, any help is greatly appreciated
  5. Hi, I managed to Render a new Layer over the players head, couple issues though, first, it has no texture. Second, It doesnt move attached to the player. Any idea how to solve it? @Override public void render(MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn, T entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch) { matrixStackIn.push(); matrixStackIn.translate(0.0D, -0.0D, -0.00D); this.getEntityModel().copyModelAttributesTo((EntityModel<T>) this.MODE
  6. That was the problem, thanks, don't know how I didn't get that before lol
  7. Hi, I would like to know where I need to register the handler of the attachCapabilities event, I tried with the @Mod.EventBusSubscriber annotation and that didn't work so where should I register it ?
  8. So do I need to subscribe it in my main class or what ?
  9. Hi, don't know what I'm doing wrong I'm trying to attach a capability to a player IChakra package com.moyas1009.mnarutomod.capabilities; public interface IChakra { public void consume(float points); public void fill(float points); public void set(float points); public float getChakra(); } Chakra package com.moyas1009.mnarutomod.capabilities; public class Chakra implements IChakra { private float chakra = 250F; @Override public void consume(float points) { this.chakra -= points; if (this.chakra < 0.0f) { t
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.