Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulevsGitch committed Jun 6, 2021
1 parent 0d63530 commit 6487efb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ yarn_mappings=6
loader_version=0.11.3

# Mod Properties
mod_version = 0.1.16
mod_version = 0.1.17
maven_group = ru.bclib
archives_base_name = bclib

Expand Down
23 changes: 0 additions & 23 deletions src/main/java/ru/bclib/blocks/BlockProperties.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import net.minecraft.world.level.block.state.properties.IntegerProperty;

public class BlockProperties {
public static final EnumProperty<CactusBottom> CACTUS_BOTTOM = EnumProperty.create("bottom", CactusBottom.class);
public static final EnumProperty<TripleShape> TRIPLE_SHAPE = EnumProperty.create("shape", TripleShape.class);
public static final EnumProperty<PentaShape> PENTA_SHAPE = EnumProperty.create("shape", PentaShape.class);

Expand Down Expand Up @@ -80,26 +79,4 @@ public String toString() {
return name;
}
}

public enum CactusBottom implements StringRepresentable {
EMPTY("empty"),
SAND("sand"),
MOSS("moss");

private final String name;

CactusBottom(String name) {
this.name = name;
}

@Override
public String getSerializedName() {
return name;
}

@Override
public String toString() {
return name;
}
}
}
1 change: 0 additions & 1 deletion src/main/java/ru/bclib/util/WeightedList.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ protected WeightedList<T> subList(int start, int end) {
list.weights.add(weights.get(i));
list.values.add(values.get(i));
}
list.maxWeight = list.weights.get(end - 1);
return list;
}

Expand Down

0 comments on commit 6487efb

Please sign in to comment.