mirror of
https://github.com/JEFF-Media-GbR/ChestSort.git
synced 2024-11-27 04:55:31 +01:00
.
This commit is contained in:
parent
77776c8c7a
commit
20f7e126e5
@ -83,10 +83,22 @@ public class JeffChestSortOrganizer {
|
||||
}
|
||||
|
||||
for(String woodName : woodNames) {
|
||||
if(typeName.startsWith(woodName)) {
|
||||
if(typeName.equals(woodName+"_wood")) {
|
||||
typeName = "log_wood";
|
||||
myColor = woodName;
|
||||
}
|
||||
else if(typeName.startsWith(woodName)) {
|
||||
typeName = typeName.replaceFirst(woodName+"_", "");
|
||||
myColor = woodName;
|
||||
}
|
||||
else if(typeName.equals("stripped_"+woodName+"_log")) {
|
||||
//typeName = typeName.replaceFirst("stripped_"+woodName+"_", "stripped_");
|
||||
typeName = "log_stripped";
|
||||
myColor = woodName;
|
||||
} else if(typeName.equals("stripped_"+woodName+"_wood")) {
|
||||
typeName = "log_wood_stripped";
|
||||
myColor = woodName;
|
||||
}
|
||||
}
|
||||
|
||||
// Egg has to be put in front to group spawn eggs
|
||||
|
@ -102,7 +102,7 @@ public class JeffChestSortPlugin extends JavaPlugin {
|
||||
}
|
||||
|
||||
private void saveDefaultCategories() {
|
||||
String[] defaultCategories = { "900-valuables","910-tools","920-combat","930-brewing","940-food","950-redstone" };
|
||||
String[] defaultCategories = { "900-valuables","910-tools","920-combat","930-brewing","940-food","950-redstone","960-wood","970-stone","980-plants","981-corals" };
|
||||
|
||||
for (String category : defaultCategories) {
|
||||
|
||||
|
47
src/de/jeffclan/utils/categories/960-wood.default.txt
Normal file
47
src/de/jeffclan/utils/categories/960-wood.default.txt
Normal file
@ -0,0 +1,47 @@
|
||||
*_planks
|
||||
*_sapling
|
||||
*_log
|
||||
*_wood
|
||||
*_leaves
|
||||
acacia_slab
|
||||
birch_slab
|
||||
jungle_slab
|
||||
oak_slab
|
||||
dark_oak_slab
|
||||
spruce_slab
|
||||
acacia_fence
|
||||
birch_fence
|
||||
jungle_fence
|
||||
oak_fence
|
||||
dark_oak_fence
|
||||
spruce_fence
|
||||
acacia_fence_gate
|
||||
birch_fence_gate
|
||||
jungle_fence_gate
|
||||
oak_fence_gate
|
||||
dark_oak_fence_gate
|
||||
spruce_fence_gate
|
||||
acacia_trapdoor
|
||||
birch_trapdoor
|
||||
jungle_trapdoor
|
||||
oak_trapdoor
|
||||
dark_oak_trapdoor
|
||||
spruce_trapdoor
|
||||
acacia_stairs
|
||||
birch_stairs
|
||||
jungle_stairs
|
||||
oak_stairs
|
||||
dark_oak_stairs
|
||||
spruce_stairs
|
||||
acacia_door
|
||||
birch_door
|
||||
jungle_door
|
||||
oak_door
|
||||
dark_oak_door
|
||||
spruce_door
|
||||
acacia_boat
|
||||
birch_boat
|
||||
jungle_boat
|
||||
oak_boat
|
||||
dark_oak_boat
|
||||
spruce_boat
|
6
src/de/jeffclan/utils/categories/970-stone.default.txt
Normal file
6
src/de/jeffclan/utils/categories/970-stone.default.txt
Normal file
@ -0,0 +1,6 @@
|
||||
stone
|
||||
cobblestone
|
||||
granite
|
||||
diorite
|
||||
andesite
|
||||
*stone_bricks
|
28
src/de/jeffclan/utils/categories/980-plants.default.txt
Normal file
28
src/de/jeffclan/utils/categories/980-plants.default.txt
Normal file
@ -0,0 +1,28 @@
|
||||
grass
|
||||
fern
|
||||
dead_bush
|
||||
seagrass
|
||||
sea_pickle
|
||||
dandelion
|
||||
poppy
|
||||
blue_orchid
|
||||
allium
|
||||
azure_bluet
|
||||
red_tulip
|
||||
orange_tulip
|
||||
white_tulip
|
||||
pink_tulip
|
||||
oxeye_daisy
|
||||
brown_mushroom
|
||||
red_mushroom
|
||||
chorus_plant
|
||||
chorus_flower
|
||||
cactus
|
||||
vine
|
||||
lily_pad
|
||||
sunflower
|
||||
lilac
|
||||
rose_bush
|
||||
peony
|
||||
tall_grass
|
||||
large_fern
|
1
src/de/jeffclan/utils/categories/981-corals.default.txt
Normal file
1
src/de/jeffclan/utils/categories/981-corals.default.txt
Normal file
@ -0,0 +1 @@
|
||||
*_coral*
|
Loading…
Reference in New Issue
Block a user