Skip to content

Commit

Permalink
sort documentations
Browse files Browse the repository at this point in the history
  • Loading branch information
yor42 committed Nov 19, 2024
1 parent 37f14f7 commit e8f7712
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,22 +57,22 @@ public void removeRefineByInput(IIngredient input){
this.removeByInputAndMode(input, TileMetalFormer.Mode.REFINE);
}

@MethodDescription
@MethodDescription(priority = 2000)
public void removeAllEtch(){
removeByMode(TileMetalFormer.Mode.ETCH);
}

@MethodDescription
@MethodDescription(priority = 2000)
public void removeAllIncise(){
removeByMode(TileMetalFormer.Mode.INCISE);
}

@MethodDescription
@MethodDescription(priority = 2000)
public void removeAllPlate(){
removeByMode(TileMetalFormer.Mode.PLATE);
}

@MethodDescription
@MethodDescription(priority = 2000)
public void removeAllRefine(){
removeByMode(TileMetalFormer.Mode.REFINE);
}
Expand Down Expand Up @@ -135,7 +135,7 @@ public void validate(GroovyLog.Msg msg) {
msg.add(mode == null, "mode must not be null!");
}

@RecipeBuilderMethodDescription(field = "mode")
@RecipeBuilderMethodDescription(field = "mode", priority = 2000)
public RecipeBuilder mode(TileMetalFormer.Mode mode){
this.mode = mode;
return this;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/cn/lambdalib2/util/RenderUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private static void drawEquippedItem(double w, ResourceLocation front, ResourceL
for (var7 = 0; var7 < tileSize; ++var7) {
var8 = (float) var7 / tileSize;
var9 = u2 - (u2 - u1) * var8 - tx;
var10 = 1.0F * var8;
var10 = var8;
t.addVertexWithUV(var10, 0.0D, -w, var9, v2);
t.addVertexWithUV(var10, 0.0D, w, var9, v2);
t.addVertexWithUV(var10, 1.0D, w, var9, v1);
Expand Down Expand Up @@ -176,7 +176,7 @@ public static boolean isInShadowPass() {

private static void initSMCSupport() {
try {
Class shadersClass = Class.forName(_shadersClassName);
Class<?> shadersClass = Class.forName(_shadersClassName);
fIsShadowPass = shadersClass.getField("isShadowPass");
smcPresent = true;
Debug.log("LambdaLib SMC support successfully initialized.");
Expand Down

0 comments on commit e8f7712

Please sign in to comment.