terrestria leaves added to speedpowder axe blocks
This commit is contained in:
parent
d0e63ca87a
commit
a7311b9da0
@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
|
||||
loader_version=0.10.6+build.214
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.16.4.4
|
||||
mod_version = 1.16.4.5
|
||||
maven_group = de.jottyfan.minecraft
|
||||
archives_base_name = quickiefabric
|
||||
|
||||
|
@ -10,7 +10,6 @@ import com.google.common.collect.Sets;
|
||||
|
||||
import de.jottyfan.minecraft.quickiefabric.tools.externalmods.Byg;
|
||||
import de.jottyfan.minecraft.quickiefabric.tools.externalmods.IdentifierGroup;
|
||||
import de.jottyfan.minecraft.quickiefabric.tools.externalmods.IdentifierGroups;
|
||||
import de.jottyfan.minecraft.quickiefabric.tools.externalmods.Terrestria;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockState;
|
||||
@ -51,15 +50,11 @@ public interface ToolRangeable {
|
||||
Arrays.asList(Blocks.POTTED_RED_MUSHROOM, Blocks.RED_MUSHROOM_BLOCK, Blocks.RED_MUSHROOM, Blocks.MUSHROOM_STEM));
|
||||
|
||||
public static final Set<IdentifierGroup> AXE_EFFECTIVE_ON_EXTERNAL = mergeGroupSets(
|
||||
Terrestria.createFromSet(
|
||||
new IdentifierGroups("cypress", "hemlock", "japanese_maple", "rainbow_eucalyptus", "redwood", "rubber",
|
||||
"sakura", "willow", "yucca_palm").getGroups("log", "quarter_log", "log_bare", "log_top", "wood")),
|
||||
Byg.createFromSet(new IdentifierGroups("aspen", "baobab", "blue_enchanted", "cherry", "cika", "cypress", "ebony",
|
||||
"fir", "green_enchanted", "holly", "jacaranda", "mahogany", "mangrove", "pine", "rainbow_eucalyptus",
|
||||
"redwood", "skyris", "willow", "witch_hazel", "zelkova").getGroups("log", "wood")),
|
||||
Byg.createFromSet(
|
||||
new IdentifierGroups("blue_glowshroom", "purple_glowshroom", "red_glowshroom", "yellow_glowshroom")
|
||||
.getGroups("block", "stem")));
|
||||
Terrestria.createFromSet(Terrestria.WOOD.getGroups("log", "quarter_log", "log_bare", "log_top", "wood", "")),
|
||||
// only because terrestria leaves are not instanceof LeavesBlock
|
||||
Terrestria.createFromSet(Terrestria.WOOD.getGroups("leaves")),
|
||||
Byg.createFromSet(Byg.WOOD.getGroups("log", "wood")),
|
||||
Byg.createFromSet(Byg.MUSHROOM.getGroups("block", "stem")));
|
||||
|
||||
public static final Set<Block> PICKAXE_EFFECTIVE_ON = Sets.newHashSet(new Block[] { Blocks.GLOWSTONE });
|
||||
|
||||
|
@ -12,6 +12,12 @@ import net.minecraft.util.Identifier;
|
||||
*/
|
||||
public class Byg extends Identifier {
|
||||
|
||||
public static final IdentifierGroups WOOD = new IdentifierGroups("aspen", "baobab", "blue_enchanted", "cherry",
|
||||
"cika", "cypress", "ebony", "fir", "green_enchanted", "holly", "jacaranda", "mahogany", "mangrove", "pine",
|
||||
"rainbow_eucalyptus", "redwood", "skyris", "willow", "witch_hazel", "zelkova");
|
||||
public static final IdentifierGroups MUSHROOM = new IdentifierGroups("blue_glowshroom", "purple_glowshroom",
|
||||
"red_glowshroom", "yellow_glowshroom");
|
||||
|
||||
/**
|
||||
* create identifier preluded by byg (for biomes you'll go)
|
||||
*
|
||||
@ -57,8 +63,7 @@ public class Byg extends Identifier {
|
||||
* @return the set of idenfifier groups
|
||||
*/
|
||||
public static final Set<IdentifierGroup> createFromSet(Set<IdentifierGroup> set) {
|
||||
for (IdentifierGroup group : set)
|
||||
{
|
||||
for (IdentifierGroup group : set) {
|
||||
group.setModId("byg");
|
||||
}
|
||||
return set;
|
||||
|
@ -12,6 +12,9 @@ import net.minecraft.util.Identifier;
|
||||
*/
|
||||
public class Terrestria extends Identifier {
|
||||
|
||||
public static final IdentifierGroups WOOD = new IdentifierGroups("cypress", "hemlock", "japanese_maple",
|
||||
"rainbow_eucalyptus", "redwood", "rubber", "sakura", "willow", "yucca_palm");
|
||||
|
||||
/**
|
||||
* create identifier preluded by terrestria
|
||||
*
|
||||
@ -50,7 +53,6 @@ public class Terrestria extends Identifier {
|
||||
return set;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* create from set
|
||||
*
|
||||
@ -58,8 +60,7 @@ public class Terrestria extends Identifier {
|
||||
* @return the set of idenfifier groups
|
||||
*/
|
||||
public static final Set<IdentifierGroup> createFromSet(Set<IdentifierGroup> set) {
|
||||
for (IdentifierGroup group : set)
|
||||
{
|
||||
for (IdentifierGroup group : set) {
|
||||
group.setModId("terrestria");
|
||||
}
|
||||
return set;
|
||||
|
Loading…
x
Reference in New Issue
Block a user