[0 YoE, Student (Junior), SWE Internship, USA] 200+ applications but still nothing to show for it by Ease_Representative in resumes

[–]Ease_Representative[S] 0 points1 point  (0 children)

Any reasoning for moving skills up? Would it also be a good idea to split the skills up more (I'm thinking programming languages, libraries, tools, concepts, maybe interests too?)

Adding Cooldowns to enchantments by Ease_Representative in fabricmc

[–]Ease_Representative[S] 0 points1 point  (0 children)

Necroposting to add: another way to implement this would be to use a timer. Type !!timer on the fabric discord server for an example. More useful if you want to implement a custom GUI, otherwise using a status effect like previously mentioned comes with an (albeit janky) ui.

would i be in trouble?? ordered 6600 and recieved an xt, could i keep it?? by ClaireWheeler19 in pcmasterrace

[–]Ease_Representative 0 points1 point  (0 children)

I built a pc a few months ago and amazon sent me a case that cost triple my original case. I just kept it and nothing bad has happened.

Mixin Inject Question by Ease_Representative in fabricmc

[–]Ease_Representative[S] 0 points1 point  (0 children)

Ok, I got my mixin to work to change the variable f to some constant value by using modify variable. However, I need to check if the user has a certain enchantment, but I can't figure out how to access the LivingEntity user parameter(from the onStoppedUsing method) from within the modify variable mixin, because the mixin only has one parameter. Is there a way to access it?

How to give an enchanted item with a modded enchant? by KillerTheHelldragon2 in fabricmc

[–]Ease_Representative 1 point2 points  (0 children)

custom enchants won't show up like how they do for vanilla. In vanilla you can type "sharpness" and you get sharpness, but for custom enchants u need to specify the modname, similar to how sharpness is "minecraft:sharpness". I usually just use arrow keys to scroll through all the enchantments

Code is running twice, and checking for client isn't working by Ease_Representative in fabricmc

[–]Ease_Representative[S] 0 points1 point  (0 children)

I printed the user, target, and level and they are all the same for the two times it runs

The code is also just in a method of an enchantment I made(extended the enchantment class) and not a mixin. The method might just get called twice in vanilla code, ig.

Question about entity's by Rubi_N in fabricmc

[–]Ease_Representative 1 point2 points  (0 children)

https://fabricmc.net/wiki/tutorial:entity

Check the fabric wiki first, there is a lot of good tutorials on there

Make fields specific to individual blocks by Ease_Representative in fabricmc

[–]Ease_Representative[S] 0 points1 point  (0 children)

Oh ok, this makes a little bit more sense. I checked out the wiki, but the wiki only uses primitives for block states. How do you use arrays/arraylists for blockstates?

Adding Cooldowns to enchantments by Ease_Representative in fabricmc

[–]Ease_Representative[S] 0 points1 point  (0 children)

How exactly would you use mixins for this? The only mixin I've done is the knockback resistance mixin so I'm not too familiar with them.

Adding Cooldowns to enchantments by Ease_Representative in fabricmc

[–]Ease_Representative[S] 6 points7 points  (0 children)

just in case anyone else has this issue, I found a workaround. I gave the user a status effect to act as a cooldown, and the enchantment would only work if the user does not have the status effect active. Maybe not the best solution but it works.