chore: add reasons for overrides
This commit is contained in:
parent
08201ac873
commit
f87479993b
@ -9,6 +9,7 @@ import org.spongepowered.asm.mixin.Overwrite;
|
||||
public class DistantContainerXx9 {
|
||||
/**
|
||||
* @author JFronny
|
||||
* @reason Containers GUIs should never be closed under any circumstances
|
||||
*/
|
||||
@Overwrite
|
||||
public boolean canUse(PlayerEntity player) {
|
||||
|
@ -9,6 +9,7 @@ import org.spongepowered.asm.mixin.Overwrite;
|
||||
public class DistantContainers3x3 {
|
||||
/**
|
||||
* @author JFronny
|
||||
* @reason Containers GUIs should never be closed under any circumstances
|
||||
*/
|
||||
@Overwrite
|
||||
public boolean canUse(PlayerEntity player) {
|
||||
|
@ -8,12 +8,14 @@ import org.spongepowered.asm.mixin.Overwrite;
|
||||
public class IgnoreEula {
|
||||
/**
|
||||
* @author JFronny
|
||||
* @reason Simplify setting up servers slightly and remove one file. You already agreed to the EULA, so this should be fine.
|
||||
*/
|
||||
@Overwrite
|
||||
private boolean checkEulaAgreement() { return true; }
|
||||
|
||||
/**
|
||||
* @author JFronny
|
||||
* @reason Simplify setting up servers slightly and remove one file. You already agreed to the EULA, so this should be fine.
|
||||
*/
|
||||
@Overwrite
|
||||
public boolean isEulaAgreedTo() {
|
||||
@ -22,7 +24,10 @@ public class IgnoreEula {
|
||||
|
||||
/**
|
||||
* @author JFronny
|
||||
* @reason Simplify setting up servers slightly and remove one file. You already agreed to the EULA, so this should be fine.
|
||||
*/
|
||||
@Overwrite
|
||||
private void createEulaFile() { }
|
||||
private void createEulaFile() {
|
||||
// Do not create anything!
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import org.spongepowered.asm.mixin.Overwrite;
|
||||
public abstract class UnblockChests {
|
||||
/**
|
||||
* @author JFronny
|
||||
* @reason Chests should never be blocked under any circumstances
|
||||
*/
|
||||
@Overwrite
|
||||
public static boolean isChestBlocked(WorldAccess world, BlockPos pos) {
|
||||
|
Loading…
Reference in New Issue
Block a user