Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Drachenbauer

Members
  • Posts

    724
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Drachenbauer's Achievements

Dragon Slayer

Dragon Slayer (6/8)

5

Reputation

  1. now i try this solution: https://forums.minecraftforge.net/topic/83298-solved-1152-different-item-model-when-rendered-in-the-inventory-vs-handheld/ It uses the deprecated variant of getQuads. but if i try to replace it with the better one, new IBakedModel() says, that i have to use the old one, because it´s an unimplemented method. How can i use the new one without this error? Now i found IForgeBakedModel. How can i use it instead of IBakedModel here?
  2. Hello If i follow this link to Forge documentations: https://mcforge.readthedocs.io/en/1.15.x/models/advanced/introduction/ I only see text on white ground, no graphics of the page-design... Why this?
  3. Is there any way to give it a classic "item/generated"-sprite for displaying in gui or item-frame and keep the .obj-model for all other display-types (laying on ground and all equip-variants)
  4. finally i got the mod with the umbrella, that uses an arm up pose, and they use the THROW_SPEAR pose for this. So i make it this way, too.
  5. Now i used PlayerTickEvent. With this, i could check for holding the umbrella very similar to the LivingFallEvent. And after testing, it looks very much like gliding with a parachute. That´s what i want. It reminds me also abit to elythra-flying.
  6. in tick event, how can i check, if the player holds the umbrella? there are not the same methods as in EntityFallEvent.
  7. I found this: Vec3d vec3d = this.getMotion(); if (!this.onGround && vec3d.y < 0.0D) { this.setMotion(vec3d.mul(1.0D, 0.6D, 1.0D)); } But how can i apply this to the player, if holding the umbrella?
  8. I noticed, that i can jump higher, if holding this umbrella. Than i saw a video of someone, who made a tower of scaffolding, placed a cage of scaffolfing ontop and filled it with chckens. Then he removed the bottom scaffolding and the chickens fell down slowly and took no damage at landing on the ground. how can i attach this exact behavior to my umbrella? In the ChickenEntitx-Class i find just this: public boolean onLivingFall(float distance, float damageMultiplier) { return false; } But nothing about the falling-speed.
  9. Hello I noticed, if i use annotations like @Mod.EventBusSubscriber(Dist.CLIENT) or @OnlyIn(Dist.CLIENT) Eclipse cannot autocompleete the "Dist" in the brackets. it only tells me, that it does not know the word "Dist" and does not give me this import as a click-option: import net.minecraftforge.api.distmarker.Dist; Everytime i have to find, copy and paste this import manually. Why the autocompleete does not work here?
  10. https://www.youtube.com/watch?v=6te-IdUIBdY here he hoints his arm up while holding an umbrella.at the end of the video. but there in no link to the mod with the umbrella... I notived, i fall slower with the umbrella, bot still get a tiny little bit of damage on landing. How to remove the fall damage compleetely, if holding that item? Edit: i canceled the LivingFallEvent, if holding the umbrella. Now i can jump from as high as i want with the umbrella without being damaged.
  11. i added an itemstack-argument to the method and it´s super-call and now the warning is gone. and the slow falling works now.
  12. I cannot find a replacement for the deprecated "getAttributeModifiers". i see nothing else about attributes there.
  13. In the existing one letters where uppercase, in the one from the page, letters are lowercase. Does this matter? And i cannot find infos about what to use instead of "getAttributeModifiers", that is deprecated
  14. How do i make my own modifyer? I want it exactly the same as the existing slow falling effect. Some posts ago you told me, copying the stuff from LivingEntity is not the right way.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.