Compare commits
No commits in common. "4eddb32190d6e4ceb1c401c9c8891c7b6519b48c" and "53f962da1b445a6d22236c4345310f6f19ee226f" have entirely different histories.
4eddb32190
...
53f962da1b
@ -122,7 +122,7 @@ dependencies {
|
||||
modRuntimeOnly "earth.terrarium.chipped:Chipped-fabric-${project.minecraft_version}:3.1.2"
|
||||
|
||||
// Axiom for blueprint support
|
||||
modCompileOnly "maven.modrinth:N6n5dqoA:YxeYxQyz"
|
||||
modCompileOnly "maven.modrinth:N6n5dqoA:nvx3oDkz"
|
||||
modCompileOnly "com.github.moulberry:AxiomClientAPI:1.0.5.3"
|
||||
|
||||
// Fabric API.
|
||||
|
@ -9,7 +9,7 @@ loader_version=0.15.11
|
||||
|
||||
# Mod Properties
|
||||
modrinth_id = jCpoCBpn
|
||||
mod_version = 1.6.1
|
||||
mod_version = 1.6
|
||||
maven_group = fr.adrien1106
|
||||
archives_base_name = ReFramed
|
||||
mod_id = reframed
|
||||
|
@ -98,10 +98,11 @@ public abstract class AxiomChunkedBlockRegionMixin implements IAxiomChunkedBlock
|
||||
@Inject(
|
||||
method = "getBlockEntity",
|
||||
at = @At("HEAD"),
|
||||
remap = false,
|
||||
cancellable = true
|
||||
)
|
||||
private void onGetBlockEntity(BlockPos pos, CallbackInfoReturnable<BlockEntity> cir) {
|
||||
if (inverse_transform == null || block_entities == null) return;
|
||||
if (inverse_transform == null) return;
|
||||
long key = BlockPos.asLong(
|
||||
inverse_transform.transformX(pos.getX(), pos.getY(), pos.getZ()),
|
||||
inverse_transform.transformY(pos.getX(), pos.getY(), pos.getZ()),
|
||||
|
@ -21,6 +21,7 @@ public class AxiomMappedBlockAndTintGetterMixin {
|
||||
at = @At(
|
||||
value = "RETURN"
|
||||
),
|
||||
remap = false,
|
||||
cancellable = true
|
||||
)
|
||||
private void onGetBlockEntity(BlockPos pos, CallbackInfoReturnable<BlockEntity> cir) {
|
||||
|
@ -30,7 +30,8 @@ public class AxiomPlacementMixin {
|
||||
|
||||
@Inject(
|
||||
method = "startPlacement(Lnet/minecraft/util/math/BlockPos;Lcom/moulberry/axiom/render/regions/ChunkedBlockRegion;Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;Ljava/lang/String;)I",
|
||||
at = @At("HEAD")
|
||||
at = @At("HEAD"),
|
||||
remap = false
|
||||
)
|
||||
private void onStartPlacement(BlockPos target, ChunkedBlockRegion region, Long2ObjectMap<CompressedBlockEntity> entities, String description, CallbackInfoReturnable<Integer> cir) {
|
||||
((IAxiomChunkedBlockRegionMixin) region).setTransform(new IntMatrix(), entities);
|
||||
|
Loading…
Reference in New Issue
Block a user