-
Posts
176 -
Joined
-
Last visited
Everything posted by Skyriis
-
i've made a .json in data/%modid%/tags/fluids. Should i move it to data/minecraft/tags/fluids? i've tried moving it to the mincraft tags but it doen't fixed my problem
-
Hey Guys, i've created a Fluid using ForgeFlowingFluid which should behave like water but it don't flow things away Fluid: https://pastebin.com/678Ve6Fc FluidBlock: https://pastebin.com/DzsM2kaW Some Ideas how i can fix that? Edit #1: Adding the following code to the fluidblock will make entities flow away if they don't move @Override public void onEntityCollision(BlockState state, World worldIn, BlockPos pos, Entity entityIn) { super.onEntityCollision(state, worldIn, pos, entityIn); if (entityIn.getRidingEntity() instanceof BoatEntity) { entityIn.inWater=false; } else if (entityIn.handleFluidAcceleration(BlutmondFluidTags.CRYSTALLIZER)) { entityIn.fallDistance = 0.0F; entityIn.extinguish(); entityIn.inWater=true; } }
-
Hey Guys, i got a weird crash while entering my test world. Crash: https://pastebin.com/BEdDjRGp Any ideas how to fix that?
-
[SOLVED] [1.15.2] Players don't regenerate their full hp
Skyriis replied to Skyriis's topic in Modder Support
I found the issue. I've rode the player hp in the heal event (which is before the player got healed). i've added some code to add the heal amount of the event to the ridden player hp. Now everything works like it should. If there are some more efficient ways to do that, please let me now -
[SOLVED] [1.15.2] Players don't regenerate their full hp
Skyriis replied to Skyriis's topic in Modder Support
I've tried to use Math.round to render the HP as int in my overlay renderer but it just draws 15/16 and never reach 16/16 -
[SOLVED] [1.15.2] Players don't regenerate their full hp
Skyriis replied to Skyriis's topic in Modder Support
need still help -
[SOLVED] [1.15.2] Players don't regenerate their full hp
Skyriis replied to Skyriis's topic in Modder Support
No ideas? -
this whould help us to find the problem
-
make sure your file is named "en_us.json". no upper case and it has to be a json file
-
[SOLVED] [1.15.2] Players don't regenerate their full hp
Skyriis replied to Skyriis's topic in Modder Support
Heal Event: https://pastebin.com/tJzUxquU Send packet: https://pastebin.com/VdMycHpN Network packet: https://pastebin.com/QqTaJMA4 -
Hey Guys, i'm trying to create a mod which displays the hp of groupmembers. I send the player information to the group members using a packet so it kind of works on severs. (i'm pretty happy with that ?) The only problem i found are players which don't regenerate their full hp. they got like 99% of their map hp but never reach 100%. How can i fix that? Some ideas? Edit
-
[1.15.2] draw centered string at position in the world
Skyriis replied to Skyriis's topic in Modder Support
Okay, i found some rendering code for nametags but i don't understand how it works. Could you try to explain how they work? -
[1.15.2] draw centered string at position in the world
Skyriis replied to Skyriis's topic in Modder Support
So i have to draw it 4 times to see it from all directions? Is there a way to rotate it to the player? -
Hi Guys, i'm trying to draw a String in the world without using any Serverside Code. At the moment i'm using a Quad filled with the vanila font but that String is only visable from one direction ^^". Can someone help me to find a better method? -written using a Smartphone
-
[1.14.3] [Solved] Some help with creating custom tools
Skyriis replied to Ahndrek Li'Cyri's topic in Modder Support
Then you should update your mcp. The latest version is 20190712-1.14.3 -
[1.14.3] [Solved] Some help with creating custom tools
Skyriis replied to Ahndrek Li'Cyri's topic in Modder Support
If you change the parent it should be fixed. "parent": "item/handheld", You have set the attack value to maximum usage and the default attack speed of a diamond pickaxe is -2.8F i guess. super(Tier, Tier.getMaxUses(), 0, new Properties().group(Group)); protected PickaxeItem(IItemTier tier, int attackDamageIn, float attackSpeedIn, Item.Properties builder){...} I also would recommend you to create a toolmaterial enum which implements IItemTier for custom tool materials. -
I've answered you by PM
-
-
Hey Guys, i've created a 3d for my custom helmet which looks like this: I've created a java model with cubik and added it into my mod but ingame the helmet looks like this (texture is not applied to the model): Can someone help?
-
Hey Guys, i'm working on a custom armor with 3D model. The model is done but i have problems to implemet it. The colors are missing and if the armor is weared there is no Model. http://prntscr.com/oci7oc How can i fix this?
-
Hey Guys, I want to use a .obj file to Render the Model of my custom armor. How can i do that in 1.14.3?
-
Hey i got a similar problem. See here. Maybe the event isn't called correctly?
-
Hey Guys, i want to use the LootTableLoadEvent i registred the Handler class in my main mod class like this: MinecraftForge.EVENT_BUS.register(new LootHandler()); and i subscribed the event @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD) public class LootHandler { @SubscribeEvent public void onLootTablesLoaded(LootTableLoadEvent e){ Ref.LOGGER.info("Load LootTable."); } } but i don't work... Can someone explain what i did wrong?
-
[CLOSED][1.14.2] NullPointerException: Rendering overlay on startup
Skyriis replied to Skyriis's topic in Modder Support
That worked thanks!