Jump to content

blahblahbal2

Members
  • Posts

    7
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Personal Text
    !wen ma I

blahblahbal2's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I could do that, but in order to get the effect I want, it would take hours to use HSL sliders in my image editing program. I basically want it to look like it's sliding through the colors smoothly. I take it there isn't an easy way to do this with code?
  2. Alright, so what I want to do is create a fluid and block that changes color through various colors, somewhat like Terraria's rainbow blocks. I expect I would need 3 variables, one each for r, g, and b. I also expect I would use IBlockColor or whatever that's called. P.S. Typing this on my dumbphone so please excuse any typos.
  3. Yes, but you're using 1.11.2, correct? I'm using 1.8.9. There are probably similarities though. I'll have a look. EDIT: Just realized what I'm trying to do is slightly different. I want a projectile that has a range that isn't controlled by how long you hold down the use button. I just want a set range, and the projectile texture is simply a circle rendered in multiple planes to look like a sphere. My GitHub link will be in my signature shortly.
  4. You need to write a Capability that stores if the Entity has the effect on and for how long the affect should last. Then you need to apply the effect using an event (one that is fired when something is attacked LivingAttackEvent). And another event to deal the damage (LivingUpdateEvent). And then you would also need to add the Enchantment (not sure if the registry system for enchants existed back then just creating an instance should do). I have no idea how to do that. And I won't even ask. I guess my best bet would be to use a potion or give up on the idea. Anyway, I'll try fiddling with my potion code and see if I can get it to work. If I can't, I'll post again here.
  5. I'm having this exact same problem. It might help both of us if you'd upload your code to GitHub. I've had some odd errors with my code, like 'NoSuchMethodError: MathHelper.atan2' and 'NoSuchFieldError: POSITION_TEX'. I had mine sorta working at one point, but I've lost the source code for it. They used to render as dark red messed up arrow models, but now they won't render at all. I eventually ended up just removing the game-crashing bits, but I really want to get my gem staves working.
  6. Alright, so first things first: I'm still on 1.8.9 because I like that version the best <_<. Anyway, I'm trying to make a Frostburn effect, exactly like that of fire, but deals more damage. I also want to add a new enchantment and allow it to apply this fire effect in the way Fire Aspect and Flame do for normal fire. I was originally going with a potion effect, but I decided that isn't the way I want to go about it. If it'd be easier to do it with a potion, then I'll do it that way, but I'd also need a tutorial or some direction on how to add that as well.
  7. That's because both of those factors are handled by EntityBase#onEntityUpdate They check the current block that the entity is in, and if that block's material is water, you get pushed (and get a drown meter). If it's lava, you get set on fire. Sorry it took me so long to reply. I got bored of Minecraft . Anyway, this does not help. I have no clue how to override those methods, or where to put said overrides. There are no tutorials for fluids that work to slow the player and mobs. And the reason I'm posting from another account is because I forgot my password, and the reset password thing isn't sending me an email .
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.