Posted June 29, 20205 yr Hi, I'm working on a custom elytra for my mod. I can render the elytra and everything, BUT double-tapping space does not start flight. Here is the code I have so far: public class NetheriteElytraArmor extends ElytraItem { public NetheriteElytraArmor(Properties builder) { super(builder); DispenserBlock.registerDispenseBehavior(this, ArmorItem.DISPENSER_BEHAVIOR); } @Override public boolean getIsRepairable(ItemStack toRepair, ItemStack repair) { //netherite_scrap return repair.getItem() == Items.field_234760_kn_; } @Nullable @Override public EquipmentSlotType getEquipmentSlot(ItemStack stack) { return EquipmentSlotType.CHEST; } } I don't know if there is an event or some other way to do it? Thanks in advance, Kid Koder Website: http://kidkoder.net GitHub: https://github.com/Uncodeable864
June 29, 20205 yr Author Oh, ok. Are there any plans to add support, as the PR was confirmed and passed all checks? Website: http://kidkoder.net GitHub: https://github.com/Uncodeable864
June 29, 20205 yr Author Couldn't I just overwrite the MC's code? I know it used to be possible in 1.12 Forge. Edited June 29, 20205 yr by KidKoderMod033109 Website: http://kidkoder.net GitHub: https://github.com/Uncodeable864
June 29, 20205 yr Author 4 minutes ago, diesieben07 said: "Overwriting" of Minecraft code is not supported. ok 3 minutes ago, diesieben07 said: Read the conversation, there were some change requests. Oh.. Website: http://kidkoder.net GitHub: https://github.com/Uncodeable864
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.