Skip to content

Commit

Permalink
v1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SoHugePenguin committed Dec 24, 2022
1 parent 7b3f16f commit 2fe32e9
Show file tree
Hide file tree
Showing 107 changed files with 1,150 additions and 1,053 deletions.
4 changes: 2 additions & 2 deletions PNX.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<configuration default="false" name="PNX" type="Application" factoryName="Application">
<option name="MAIN_CLASS_NAME" value="cn.nukkit.Nukkit" />
<module name="plugin" />
<option name="VM_PARAMETERS" value="-Dfile.encoding=UTF-8 -Djansi.passthrough=true -Dterminal.ansi=true -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+EnableJVMCI -Xmx4G -Dpolyglot.engine.WarnInterpreterOnly=false --module-path=.\libs\graal-sdk-22.2.0.jar;.\libs\truffle-api-22.2.0.jar; --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED -cp powernukkitx-1.19.40-r2-shaded.jar;.\libs\* cn.nukkit.Nukkit" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/../../server_test" />
<option name="VM_PARAMETERS" value="-Dfile.encoding=UTF-8 -Djansi.passthrough=true -Dterminal.ansi=true -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+EnableJVMCI -Xmx4G -Dpolyglot.engine.WarnInterpreterOnly=false --module-path=.\libs\graal-sdk-22.2.0.jar;.\libs\truffle-api-22.2.0.jar; --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED -cp powernukkitx-1.19.50.jar;.\libs\* cn.nukkit.Nukkit" />
<option name="WORKING_DIRECTORY" value="$USER_HOME$/Desktop/server_test" />
<method v="2" />
</configuration>
</component>
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@

public class block1 extends Block implements CustomBlock {

@NotNull
@Override
public String getNamespaceId() {
return "np:color_block1";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block1")//texture name
Expand Down Expand Up @@ -64,7 +65,7 @@ public double getFrictionFactor() {

@Override
public BlockColor getColor() {
return new BlockColor(180,28,48);
return new BlockColor(180, 28, 48);
}

//阻力
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block10 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block10";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block10")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block11 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block11";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block11")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import org.jetbrains.annotations.Nullable;

public class block12 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block12";
Expand Down Expand Up @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block13 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block13";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block13")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block14 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block14";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block14")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block15 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block15";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block15")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block16 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block16";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block16")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block17 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block17";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block17")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block18 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block18";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block18")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block19 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block19";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block19")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block2 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block2";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block2")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
import org.jetbrains.annotations.Nullable;

public class block20 extends Block implements CustomBlock {
@NotNull
@Override
public String getNamespaceId() {
return "np:color_block20";
}

@Override
@Override
public CustomBlockDefinition getDefinition() {
return CustomBlockDefinition
.builder(this, "color_block20")//texture name
Expand All @@ -38,12 +39,12 @@ public double calculateBreakTime(@NotNull Item item, @Nullable Player player) {
return 3;
}

//摩擦系数
//摩擦系数
@Override
public double getFrictionFactor() {
return 0.4;
}

//阻力
@Override
public double getResistance() {
Expand Down
Loading

0 comments on commit 2fe32e9

Please sign in to comment.