Everything posted by ViktorNguyen
-
[1.15.2] Can't get collided entity
anyone
-
[1.15.2] Can't get collided entity
My entity's function getCollisionBox not fire when it collide with other entity. getCollisionBox only fire when i use move function
-
[SOLVED][1.15.2] How to Check if an entity collide with block?
Which event or function handle when entity collide with block?
-
[1.15.2] How to render a custom model for custom Arrow?
nevermind, i found it
-
[1.15.2] How to render a custom model for custom Arrow?
i found that entities has custom model always extend from livingEntity. am i missing any entity which have custom model but extend from Entity instead of livingEntity?
-
[1.15.2] How to render a custom model for custom Arrow?
oh, i got it. thank you so much
-
[1.15.2] How to render a custom model for custom Arrow?
and where should i put my json model file, or i have to create a model class
-
[1.15.2] How to render a custom model for custom Arrow?
i just create an ArrowEntity Extended from AbstractArrowEntity. how can i add custom model to it??
-
[1.15.2] I can't add entity to world
i want to add a trident at player position but nothing happen. @SubscribeEvent public void onClientTickEvent(final TickEvent.ClientTickEvent event) { if(event.phase != TickEvent.Phase.END) return; Minecraft minecraft = Minecraft.getInstance(); if(minecraft.player == null) return; PlayerEntity player = minecraft.player; ItemStack mainHand = player.getHeldItemMainhand(); if(KeyBindingHandler.throw_saber.isPressed() && mainHand.getItem() instanceof BeamSaber) { TridentEntity trident = new TridentEntity(minecraft.world,player,mainHand); minecraft.world.addEntity(trident); } }
-
How to add Custom keybinds?
[1.15.2] i forgot to add the version to this topic title
-
How to add Custom keybinds?
Do i need to use Deferred Registry to registry key bind
-
[1.61.1] Missing addPropertyOverride function
i can't find addPropertyOverride function in Item Class anymore. did they replace it with others name?
-
How to make trident deal damage to entity hit on return path ?
Thank you so much, it works
-
How to make trident deal damage to entity hit on return path ?
I forgot to mention the version:1.15.2
-
How to make trident deal damage to entity hit on return path ?
I have no idea how trident only deal damage when thrown but not return.
-
How to create Item with multiple Models?
i'll check that you. thank you so much
-
How to create Item with multiple Models?
I have an item which needs to change its model based on NBT. How can i do that? Anyone help with this will be greatly appreciated but if you do intend to leave an answer please be patient and leave a well informed detailed response or please link a source code example as reference. Thanks!
IPS spam blocked by CleanTalk.