Skip to content

Commit

Permalink
docs overwrites
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanVonElectrum committed Jul 25, 2021
1 parent ecba035 commit 1a2f212
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public AnvilScreenHandlerMixin(@Nullable ScreenHandlerType<?> type, int syncId,

/**
* @author JohanVonElectrum
* @reason AnvilXPCap and compatibility fixed
*/
@Overwrite
public void updateResult() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class EnchantmentHelperMixin {

/**
* @author JohanVonElectrum
* @reason Compatible enchants
*/
@Overwrite
public static void removeConflicts(List<EnchantmentLevelEntry> possibleEntries, EnchantmentLevelEntry pickedEntry) {
Expand All @@ -26,6 +27,7 @@ public static void removeConflicts(List<EnchantmentLevelEntry> possibleEntries,

/**
* @author JohanVonElectrum
* @reason Compatible enchants
*/
@Overwrite
public static boolean isCompatible(Collection<Enchantment> existing, Enchantment candidate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public abstract class HeightmapMixin {

/**
* @author JohanVonElectrum
* @reason Limit heightmap max y
*/
@Overwrite
public static void populateHeightmaps(Chunk chunk, Set<Heightmap.Type> types) {
Expand Down Expand Up @@ -73,6 +74,7 @@ public static void populateHeightmaps(Chunk chunk, Set<Heightmap.Type> types) {

/**
* @author JohanVonElectrum
* @reason Limit heightmap max y
*/
@Overwrite
public boolean trackUpdate(int x, int y, int z, BlockState state) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public void tick() {

/**
* @author JohanVonElectrum
* @reason itemFrameDelay
*/
@Overwrite
public boolean canStayAttached() {
Expand All @@ -65,6 +66,7 @@ public boolean canStayAttached() {

/**
* @author JohanVonElectrum
* @reason itemFrameDelay
*/
@Overwrite
public boolean damage(DamageSource source, float amount) {
Expand Down

0 comments on commit 1a2f212

Please sign in to comment.