gnembon
gnembon
Another option for term-like string argument, as a subclass of StringArgumentType. Reasoning - code is much cleaner, yet still one would retrieve its value via getString as it is technically...
There is an issue with carpet-extra and hopperoptimizations. Carpet-extra uses isValidInvStack to make hoppers not insert items when there is already 1 item in the same slot of the autocrafting...
the following redirection works only in dev: ```java @Mixin(targets="net.minecraft.client.sound.SoundEngine$SourceSetImpl") public class SoundEngineInt_cleanLogsMixin { @Redirect(method = "createSource", at = @At( remap = false, value="INVOKE", target = "Lorg/apache/logging/log4j/Logger;warn(Ljava/lang/String;Ljava/lang/Object;)V" )) private void doWarnOrNotWarn(Logger...
both query(entity, 'attribute', 'generic.max_health') as well as modify(entity 'attribute', 'generic.max_health', value) providing if possible appropriate validation (to prevent writing crap back to the NBTs