generated from babric/babric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca8043b
commit dd461d8
Showing
4 changed files
with
28 additions
and
51 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
19 changes: 19 additions & 0 deletions
19
...etterthanupdates/apron/compat/mixin/client/betterthanwolves/nostation/FireBlockMixin.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,19 @@ | ||
package io.github.betterthanupdates.apron.compat.mixin.client.betterthanwolves.nostation; | ||
|
||
import net.minecraft.block.FireBlock; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.injection.Constant; | ||
import org.spongepowered.asm.mixin.injection.ModifyConstant; | ||
|
||
@Mixin(FireBlock.class) | ||
public class FireBlockMixin { | ||
@ModifyConstant(method = "<init>", constant = @Constant(intValue = 256, ordinal = 0)) | ||
private int btw$changeTo1024_1(int constant) { | ||
return 1024; | ||
} | ||
|
||
@ModifyConstant(method = "<init>", constant = @Constant(intValue = 256, ordinal = 1)) | ||
private int btw$changeTo1024_2(int constant) { | ||
return 1024; | ||
} | ||
} |
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