
moyas1009
Members-
Content Count
10 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout moyas1009
-
Rank
Tree Puncher
-
Capability Resets On Rejoining World [1.16.5]
moyas1009 replied to moyas1009's topic in Modder Support
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 -
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?
-
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
-
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
-
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
-
That was the problem, thanks, don't know how I didn't get that before lol
-
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 ?
-
So what should i do?
-
So do I need to subscribe it in my main class or what ?
-
moyas1009 started following Problem with Capabilities [1.15.2]
-
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