mirror of
https://github.com/XevianLight/Aphelion.git
synced 2026-05-11 10:00:54 +01:00
RocketEntity added. Uses RocketRenderer and RocketStructure to render blocks. RocketStructure supports volumes up to 128^3.
This commit is contained in:
@@ -5,6 +5,7 @@ import net.minecraft.resources.ResourceLocation;
|
||||
import net.minecraft.world.level.dimension.DimensionType;
|
||||
import net.xevianlight.aphelion.client.dimension.DimensionRendererCache;
|
||||
import net.xevianlight.aphelion.client.dimension.DimensionSkyEffects;
|
||||
import net.xevianlight.aphelion.client.dimension.SpaceSkyEffects;
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.injection.At;
|
||||
import org.spongepowered.asm.mixin.injection.Inject;
|
||||
@@ -18,7 +19,7 @@ public abstract class DimensionSpecialEffectsMixin {
|
||||
ResourceLocation effectsId = type.effectsLocation();
|
||||
|
||||
if (DimensionRendererCache.RENDERERS.containsKey(effectsId)) {
|
||||
cir.setReturnValue(new DimensionSkyEffects(effectsId));
|
||||
cir.setReturnValue(new SpaceSkyEffects(effectsId));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user