Everything posted by poopoodice
-
[1.15.2] Cannot register entity renderer
also iirc returning null in getEntityTexture is not allowed (will crash)
-
Do something with entites that have a certain tag every tick [1.15.2]
LivingUpdateEvent
-
[1.15.2] Rotate player arms and edit/remove animation when holding an item
you can but the problem is if he want the hand to keep the rotation angle (no swinging), he will need to access the layers and replace then with his own layers, like I did.
-
[1.15.2] Rotate player arms and edit/remove animation when holding an item
It took me really long to adjust the rotations angles and points, btw you can run it in debug mode so you dont have to relaunch the game everytime you make any changes
-
My mob is stopping ๐จ๐ง๐ ๐๐ฅ๐จ๐๐ค before it's target position??
better post your code as well so people can see if there's anything to do with your code
-
[1.15.2] Rotate player arms and edit/remove animation when holding an item
Models does not need to be registered, only renderers And what I mean by a custom player model is basically the copy and paste of the player model with some rotations and translations... anyways here's the code https://bitbucket.org/poopoodice/ava/src/master/src/main/java/poopoodice/ava/misc/AVATPRenderer.java Just want you to know the code is extremely terrible and should not be an example of doing anything. To explain a bit more: I did not replace anything in vanilla rendering (except the layers, you can't "hide" them). Instead, I hide them and render my own model. I hope there's an easier way to do this but I haven't find anything yet. You may find this more helpful
-
[1.15.2] Rotate player arms and edit/remove animation when holding an item
I haven't find the best solution yet, but any changes (e.g. rotation) made in the pre event will not work because in render method which gets call after pre event resets model's rotation angle and stuff. What I do is hard coded the rotation and position of the custom player model and render it in post event, and set the bodyparts.showModel to false for the parts that you want to render in post event.
-
Create a wanted paper
You might need an itemstack te renderer
-
Make a item give a entity a potion effect when the entity is attacked with it [1.15.2]
override onLeftClickEntity and addPotionEffect to the living entity
-
Creating a gui for a custom book
Look at vanilla screens, if your gui is a "pure" gui then you only need to make a custom screen (gui) class, register it, and open it using Minecraft.getInstance().displayGuiScreen(gui);
-
Custom Entity spawns as a Pig
What do you mean by "didn't work" ?
-
Dealing with single item instances
AttachCapabilitiesEvent to attach the capability to the itemstacks
-
Where to get started creating a custom projectile?
See how BowItem creates an arrow and how fireball entity make explosions when collide To be more specific: Create and register the entity, maybe make a model and renderer (remember to register it) for it if you dont want it to look like a normal item flying in the sky, and summon it with your item.
-
Where to get started creating a custom projectile?
that sounds like what exactly fireball does
-
Where to get started creating a custom projectile?
depend on what kind of "new type of projectile" you want to create, arrow and fireball can be best examples.
-
[SOLVED] Unable to summon entity ERROR
Register this attribute https://github.com/denyoongi/supernova/blob/f5d2266aae29e75cab510790fcec1f7fbdeee550/src/main/java/com/jiminsdick/supernova/entities/AngelEntity.java#L64
-
[SOLVED] Unable to summon entity ERROR
any error msgs?
-
Transparent blocks in 1.15.2 issue?
Indeed
-
Transparent blocks in 1.15.2 issue?
These no longer exist
-
Localization with Server Only Mods
Hold on, why do you need the texts being translated on server?
-
DrawRect() in 1.14.4??
first blit should be enough
-
DrawRect() in 1.14.4??
this is from a previous post on the forum, but apparently it's from Mekanism ๐: //Some blit param namings , thank you Mekanism //blit(int x, int y, int textureX, int textureY, int width, int height); //blit(int x, int y, TextureAtlasSprite icon, int width, int height); //blit(int x, int y, int textureX, int textureY, int width, int height, int textureWidth, int textureHeight); //blit(int x, int y, int zLevel, float textureX, float textureY, int width, int height, int textureWidth, int textureHeight); //blit(int x, int y, int desiredWidth, int desiredHeight, int textureX, int textureY, int width, int height, int textureWidth, int textureHeight); //innerBlit(int x, int endX, int y, int endY, int zLevel, int width, int height, float textureX, float textureY, int textureWidth, int textureHeight);
-
[1.15.2] Make server summon entity based on client
Post the log, and have you register the packet?
-
Detecting if a player is wearing specific armor [1.15.2]
Depends on what you want to do, but you should be able to do things in onArmorTick in ur armour class
-
1.15 Baby Mob Size
if ur entity extends AgeableEntity yes they grow : )
IPS spam blocked by CleanTalk.