Fixes
This commit is contained in:
parent
a968b9bb23
commit
8beabd0f96
18 changed files with 176 additions and 63 deletions
|
@ -0,0 +1,17 @@
|
|||
package ru.betterend.mixin.common;
|
||||
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
|
||||
import net.minecraft.world.gen.chunk.ChunkGenerator;
|
||||
|
||||
@Mixin(ChunkGenerator.class)
|
||||
public class ChunkGeneratorMixin {
|
||||
/*@Inject(method = "generateFeatures", at = @At("RETURN"))
|
||||
private void fixerPass(ChunkRegion region, StructureAccessor accessor, CallbackInfo info) {
|
||||
int chunkX = region.getCenterChunkX();
|
||||
int chunkZ = region.getCenterChunkZ();
|
||||
BlockPos start = new BlockPos(chunkX << 4, 16, chunkZ << 4);
|
||||
BlockPos end = start.add(15, 64, 15);
|
||||
BlocksHelper.fixBlocks(region, start, end);
|
||||
}*/
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
package ru.betterend.mixin.common;
|
||||
|
||||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.gen.Accessor;
|
||||
|
||||
import net.minecraft.tag.Tag;
|
||||
|
||||
@Deprecated
|
||||
@Mixin(targets = "net.minecraft.tag.RequiredTagList$TagWrapper")
|
||||
public interface TagAccessor<T> {
|
||||
@Accessor
|
||||
Tag<T> getDelegate();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue