Skip to content

Commit 0ed0cab

Browse files
committed
移除错误的贴图存放格式,合并WoodType和BlockSetType
1 parent 29f6c48 commit 0ed0cab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+69
-52
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package org.polaris2023.wild_wind.common.block;
2+
3+
import net.minecraft.world.level.block.Block;
4+
5+
/**
6+
* @author : baka4n
7+
* {@code @Date : 2025/03/06 17:55:38}
8+
*/
9+
public class NeoBedBlock extends Block {
10+
public NeoBedBlock(Properties properties) {
11+
super(properties);
12+
}
13+
14+
15+
}

src/main/java/org/polaris2023/wild_wind/common/init/ModBlockSetTypes.java

-12
This file was deleted.

src/main/java/org/polaris2023/wild_wind/common/init/ModBlocks.java

+28-28
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package org.polaris2023.wild_wind.common.init;
2+
3+
import net.minecraft.world.level.block.state.properties.BlockSetType;
4+
import net.minecraft.world.level.block.state.properties.WoodType;
5+
6+
import java.util.Locale;
7+
8+
import static org.polaris2023.wild_wind.WildWindMod.MOD_ID;
9+
10+
/**
11+
* @author : baka4n
12+
* {@code @Date : 2025/03/06 18:39:27}
13+
*/
14+
public enum ModWoodSettings {
15+
AZALEA,
16+
PALM,
17+
BAOBAB,
18+
;
19+
public final BlockSetType setType;
20+
public final WoodType woodType;
21+
ModWoodSettings() {
22+
String typeName = MOD_ID + "_" + name().toLowerCase(Locale.ROOT);
23+
setType = BlockSetType.register(new BlockSetType(typeName));
24+
woodType = WoodType.register(new WoodType(typeName, setType));
25+
}
26+
}

src/main/java/org/polaris2023/wild_wind/common/init/ModWoodTypes.java

-12
This file was deleted.
Binary file not shown.
Binary file not shown.
-428 Bytes
Binary file not shown.
-449 Bytes
Binary file not shown.
-432 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-463 Bytes
Binary file not shown.
Binary file not shown.
-484 Bytes
Binary file not shown.
-921 Bytes
Binary file not shown.
Binary file not shown.
-199 Bytes
Binary file not shown.
-419 Bytes
Binary file not shown.
-531 Bytes
Binary file not shown.
-614 Bytes
Binary file not shown.
Binary file not shown.
-193 Bytes
Binary file not shown.
Binary file not shown.
-433 Bytes
Binary file not shown.
-5.75 KB
Binary file not shown.
-185 Bytes
Binary file not shown.
-223 Bytes
Binary file not shown.
-205 Bytes
Binary file not shown.
-187 Bytes
Binary file not shown.
-474 Bytes
Binary file not shown.
-359 Bytes
Binary file not shown.
-585 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-3.26 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-850 Bytes
Binary file not shown.
-877 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-851 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-471 Bytes
Binary file not shown.
Binary file not shown.
-382 Bytes
Binary file not shown.
Binary file not shown.
-345 Bytes
Binary file not shown.
-471 Bytes
Binary file not shown.
Binary file not shown.
-419 Bytes
Binary file not shown.
Binary file not shown.
-325 Bytes
Binary file not shown.
-474 Bytes
Binary file not shown.
-550 Bytes
Binary file not shown.
-437 Bytes
Binary file not shown.
Binary file not shown.
-337 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)