-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Port to 1.21.4 * Return lod * Return isBlockItem, update to rc3 * Remove transformation != null check * Port neoforge part * Update publish * Maybe fix workflow * Maybe fix workflow 2 * Maybe fix workflow 3 * 1.21.4
- Loading branch information
Showing
34 changed files
with
577 additions
and
573 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,10 +24,9 @@ jobs: | |
with: | ||
files: neoforge/build/libs/!(*-@(dev|sources|api|javadoc)).jar | ||
github-files: neoforge/build/libs/*-@(dev|sources|api|javadoc).jar | ||
version-type: release | ||
version-type: beta | ||
game-versions: | | ||
1.21.2 | ||
1.21.3 | ||
1.21.4 | ||
game-version-filter: releases | ||
dependencies: | | ||
cloth-config(required){modrinth:9s6osm5g}{curseforge:348521}#(ignore:github) | ||
|
@@ -63,12 +62,10 @@ jobs: | |
github-files: fabric/build/libs/*-@(dev|sources|api|javadoc).jar | ||
version-type: beta | ||
game-versions: | | ||
1.21.2 | ||
1.21.3 | ||
1.21.4 | ||
game-version-filter: releases | ||
dependencies: | | ||
cloth-config(required){modrinth:9s6osm5g}{curseforge:348521}#(ignore:github) | ||
[email protected](incompatible){modrinth:AANobbMI}#(ignore:github)(ignore:curseforge) | ||
modrinth-featured: true | ||
modrinth-id: 51shyZVL | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
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
27 changes: 27 additions & 0 deletions
27
...n/src/main/java/ca/fxco/moreculling/mixin/blocks/cullshape/BaseTorchBlock_voxelMixin.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,27 @@ | ||
package ca.fxco.moreculling.mixin.blocks.cullshape; | ||
|
||
import ca.fxco.moreculling.api.block.MoreBlockCulling; | ||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.world.level.BlockGetter; | ||
import net.minecraft.world.level.block.*; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
import net.minecraft.world.phys.shapes.CollisionContext; | ||
import net.minecraft.world.phys.shapes.Shapes; | ||
import net.minecraft.world.phys.shapes.VoxelShape; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.Unique; | ||
|
||
@Mixin(BaseTorchBlock.class) | ||
public abstract class BaseTorchBlock_voxelMixin extends Block implements MoreBlockCulling { | ||
@Unique | ||
private static final VoxelShape moreculling$occlusionShape = Block.box(7.0, 0.0, 7.0, 9.0, 10.0, 9.0); | ||
|
||
protected BaseTorchBlock_voxelMixin(Properties settings) { | ||
super(settings); | ||
} | ||
|
||
@Override | ||
public VoxelShape getOcclusionShape(BlockState state) { | ||
return moreculling$occlusionShape; | ||
} | ||
} |
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
65 changes: 0 additions & 65 deletions
65
common/src/main/java/ca/fxco/moreculling/mixin/models/BuiltInModel_cacheMixin.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.