-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redo Architecture Craft 3.108 Compat
This reverts commit 06300fb. But This Time: - Fixes Top Erroring on Shapes - Fixes Sawbench Particle Textures
- Loading branch information
1 parent
57e1b08
commit 1c2abfc
Showing
15 changed files
with
220 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/main/java/com/nomiceu/nomilabs/mixin/architecturecraft/BlockSawbenchMixin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package com.nomiceu.nomilabs.mixin.architecturecraft; | ||
|
||
import net.minecraft.block.material.Material; | ||
import net.minecraft.block.state.IBlockState; | ||
import net.minecraft.init.Blocks; | ||
import net.minecraft.util.math.BlockPos; | ||
import net.minecraft.world.IBlockAccess; | ||
|
||
import org.spongepowered.asm.mixin.Mixin; | ||
|
||
import com.elytradev.architecture.common.block.BlockArchitecture; | ||
import com.elytradev.architecture.common.block.BlockSawbench; | ||
import com.elytradev.architecture.common.tile.TileSawbench; | ||
|
||
/** | ||
* Fixes the Particle Texture of the Sawbench. | ||
*/ | ||
@Mixin(value = BlockSawbench.class, remap = false) | ||
public class BlockSawbenchMixin extends BlockArchitecture<TileSawbench> { | ||
|
||
/** | ||
* Default Ignored Constructor | ||
*/ | ||
public BlockSawbenchMixin(Material material) { | ||
super(material); | ||
} | ||
|
||
@Override | ||
public IBlockState getParticleState(IBlockAccess world, BlockPos pos) { | ||
return Blocks.IRON_BLOCK.getDefaultState(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.