Remove remap=false
concern Changes to be committed: modified: gradle.properties modified: src/main/java/org/dimdev/dimdoors/mixin/DefaultBiomeFeaturesMixin.java modified: src/main/java/org/dimdev/dimdoors/mixin/PlayerEntityMixin.java modified: src/main/java/org/dimdev/dimdoors/mixin/client/InGameHudMixin.java
This commit is contained in:
parent
66128af3cb
commit
4394f8e7f2
4 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ minecraft_version=1.16.3
|
|||
yarn_mappings=1.16.3+build.1
|
||||
loader_version=0.9.3+build.207
|
||||
|
||||
fabric_version=0.20.2+build.402-1.16
|
||||
fabric_version=0.21.0+build.407-1.16
|
||||
|
||||
libcbe_version = 1.1.0
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import net.minecraft.world.gen.feature.DefaultBiomeFeatures;
|
|||
|
||||
@Mixin(DefaultBiomeFeatures.class)
|
||||
public class DefaultBiomeFeaturesMixin {
|
||||
@Inject(method = "addDesertLakes", at = @At("RETURN"), remap = false)
|
||||
@Inject(method = "addDesertLakes", at = @At("RETURN"))
|
||||
private static void addGateway(GenerationSettings.Builder builder, CallbackInfo ci) {
|
||||
builder.feature(GenerationStep.Feature.TOP_LAYER_MODIFICATION, ModFeatures.SANDSTONE_PILLARS_FEATURE_V2);
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ public abstract class PlayerEntityMixin extends LivingEntity {
|
|||
super(entityType, world);
|
||||
}
|
||||
|
||||
@Inject(method = "handleFallDamage", at = @At("HEAD"), cancellable = true, remap = false)
|
||||
@Inject(method = "handleFallDamage", at = @At("HEAD"), cancellable = true)
|
||||
public void handleLimboFallDamage(float fallDistance, float damageMultiplier, CallbackInfoReturnable<Boolean> cir) {
|
||||
if (this.world.getBiome(this.getBlockPos()) == ModBiomes.LIMBO_BIOME) {
|
||||
cir.setReturnValue(false);
|
||||
|
|
|
@ -16,7 +16,7 @@ import net.fabricmc.api.Environment;
|
|||
@Environment(EnvType.CLIENT)
|
||||
@Mixin(InGameHud.class)
|
||||
public class InGameHudMixin {
|
||||
@Inject(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/MinecraftClient;getTextureManager()Lnet/minecraft/client/texture/TextureManager;"), method = "renderVignetteOverlay(Lnet/minecraft/entity/Entity;)V", remap = false)
|
||||
@Inject(at = @At(value = "INVOKE", target = "Lnet/minecraft/client/MinecraftClient;getTextureManager()Lnet/minecraft/client/texture/TextureManager;"), method = "renderVignetteOverlay(Lnet/minecraft/entity/Entity;)V")
|
||||
public void renderVignetteOverlay(Entity entity, CallbackInfo info) {
|
||||
if (entity.world.getBiome(entity.getBlockPos()) == ModBiomes.LIMBO_BIOME) {
|
||||
RenderSystem.color4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
|
|
Loading…
Reference in a new issue