-
Custom armor textures for item
So you meant textures right? Sorry
-
Custom armor textures for item
Yeah, i knew i had to do that, ty. So u asked how I did my quiver, and told bow to use it, so that's how, my quiver with arrows is ItemArrow with function isInfinite, so bow calls this func everytime it shoots
-
Custom armor textures for item
take a look at extends parts of both items Also what's function to replace it better?
-
LavX64 changed their profile photo
-
Custom armor textures for item
I you really interested check github ItemQuiver and ItemQuiverWithArrows, code is not perfect, a lot of conditional spaghetti, but I have to check for a lot of stuff so..
-
Custom armor textures for item
When I asked about quiver I've head same reply, some said I can do it only with custom bow, but I found a way, so.. Don't do such statements if you not sure
-
Custom armor textures for item
I made a quiver which can be put into chest and legs armor slots, but it has no texture it both. So how I add different textures when it's on chest or legs?
-
Make item not wearable on offhand
I made it dirty way, onUpdate when this item in offhand just copy it from there to player's inventory(or if it's full drop it), and delete it from offhand
-
onUpdate() get player methods
I solved my problem by casting ((EntityPlayer)entityIn)
-
onItemLeftClick?
Wow this code is just what I needed, ty! I didn't know I can get playerEntity from Minecraft class. And I didn't know about Minecraft.getMinecraft() either
-
onItemLeftClick?
what next? how do I interact with my player inventory or something?
-
onItemLeftClick?
Is there any function besides onItemRightClick() to check keybindings? Like if I want to Shift+RightClick
-
onUpdate() get player methods
so func onUpdate(ItemStack, World, Entity, int, boolean) takes this parameters, but I want to look if player is holding item in offhand, but there's only Entity, not EntityPlayer, what do I do? Edit: Let me explain, I want to do entity.replaceItemInInventory() but int variable that im gettin is actually same for offhand and mainhand, also armor slots are 1-4, as well as inventory slots.
-
Make item not wearable on offhand
Is there any method to make my item not wearable on offhand(because it causes some bugs)?
-
[SOLVED]How do I check when bow in use?
It's okay, thank you for help but I already did my quiver.
-
[SOLVED]How do I check when bow in use?
I already have an idea of sonsuming item, the problem is to make bow find my arrows in my quiver, to be exact - find arrows in my inventory OR my quiver with AT LEAST 1 Arrow count in it
IPS spam blocked by CleanTalk.