Compare commits
4 Commits
v2.1.0
...
v2-1.21.10
| Author | SHA1 | Date | |
|---|---|---|---|
| 99786347d2 | |||
| fb0aebb777 | |||
| ad8adc6b12 | |||
| b51d6a8528 |
+1
-1
@@ -13,6 +13,6 @@ loom_version=1.15-SNAPSHOT
|
||||
fabric_version=0.138.4+1.21.10
|
||||
|
||||
# Mod Properties
|
||||
mod_version=2.1.0
|
||||
mod_version=2.1.1
|
||||
maven_group=com.acethewildfire.acesbs
|
||||
archives_base_name=acesbs
|
||||
|
||||
@@ -1,38 +1,9 @@
|
||||
# Changes
|
||||
## Additions
|
||||
- Ashen Smithing Template can be found in Nether Fortress Chests
|
||||
- Prisma Smithing Templates can be given by Armorers as a Hero of the Village Gift.
|
||||
- Ashen and Prisma Smithing Templates can be duplicated like other templates.
|
||||
- Hammers are now included in the pickaxe item tag. (aka, to other mods they will be considered a type of pickaxe)
|
||||
- The Entropic Wand is now obtainable by grafting a breeze rod with a Stable Entropy. It turns blocks into other blocks. You will have to experiment to find out which ones.
|
||||
- Fire Oak Trees and associated wood blocks. Obtainable by placing an oak sapling and infernal ashes in an Entropic Entangler
|
||||
- Leaf Litter for both Lemonwood and the new Fire Oak leaf types.
|
||||
- Fractal Diamonds can now be obtained by placing a diamond and stable entropy into an entropic entangler. They can be used to craft tools and armor. They have the same effect as Prisma Steel and drop additional ores when mining.
|
||||
- Hellfire Diamonds can now be obtained by placing a diamond and infernal ashes into an entropic entangler. They can be used to craft tools and armor. They automatically smelt items that are smeltable. (Ex: Ores->ingots, logs->charcoal, sand->glass).
|
||||
- Bag of Holding which acts as a portable double chest.
|
||||
- Green Bricks (Useless) can be obtained by placing a brick in an Entropic Eviscerator. Though, this is pointless as green bricks are useless.
|
||||
- Kaupen Bow can be obtained by placing a bow in an Entropic Evicerator. It functions the same as a normal bow but is a nice reference to the YT Channel that taught me modding.
|
||||
- More Advancements!
|
||||
## Fixes
|
||||
- Blocks of Ashen Steel now have a recipe and drop when mined. Not sure how I missed that one.
|
||||
- Hammers are now enchantable and are compatible with pickaxe enchantments.
|
||||
- The Ashen Steel Pickaxe is no longer considered a shovel, and the Ashen Steel Shovel now IS correctly considered a shovel.
|
||||
- Lemonwood Sapling renders as an item now, rather than a block
|
||||
- Lemonwood Trapdoors face the correct direction
|
||||
- Lemonwood Logs now break at the correct speed.
|
||||
- Lemonwood logs, stripped logs, wood, stripped wood, doors, trapdoors, pressure plates, buttons, stairs and slabs now all are assigned a correct tool (axe). Kinda embarrassing that I forgot to do that for 10/14 of the Lemonwood Blocks (And Fire Oak, but I fixed it before you noticed >:D ).
|
||||
- The crafting recipe for Lemonwood walls no longer conflict with the recipe for Lemonwood Trapdoors.
|
||||
- Hammers now reflect the correct durability.
|
||||
## Changes
|
||||
- Lemonwood saplings are now obtained through an Entropic Entangler recipe (Stable Entropy + Birch Sapling)
|
||||
- Bricked Up are now obtained through an Entropic Entangler recipe (Stable Endtropy + Brick)
|
||||
- Ashen Steel tools now automatically smelt items that can be smeltable. (Ex: Ores->ingots, logs->charcoal, sand->glass)
|
||||
- Durability calculations have changed to reflect the material's rarity.
|
||||
- Tools have the mining level of the base material with the durability of the next tier.
|
||||
- Hammers get the equivalent durability for the materials put into them. (effectively the durability x6.33)
|
||||
- Lemonwood Trees now drop lemons.
|
||||
- Lemonwood trees now have yellow leaf particles.
|
||||
- Crystalized Entropy has a new texture that's less... bad.
|
||||
|
||||
- Crouch while holding a Hammer to mine a single block.
|
||||
# Known Issues
|
||||
- The Command Core Item does not display the correct texture when activated.
|
||||
- The Command Core Item does not offer any functionality
|
||||
|
||||
@@ -15,7 +15,7 @@ public class AshenSteelItems {
|
||||
public static final Item ASHEN_STEEL_PICKAXE = ModItems.registerItem("ashen_steel_pickaxe",
|
||||
setting -> new SmeltingPickaxe(setting.pickaxe(ModToolMaterials.ASHEN_STEEL, 1.0F, -2.8F)));
|
||||
public static final Item ASHEN_STEEL_HAMMER = ModItems.registerItem("ashen_steel_hammer",
|
||||
setting -> new SmeltingHammer(ModToolMaterials.ASHEN_STEEL, 9.0F, -3.4F, setting.maxDamage(9886)));
|
||||
setting -> new SmeltingHammer(ModToolMaterials.ASHEN_STEEL, 9.0F, -3.4F, 9886, setting));
|
||||
public static final Item ASHEN_STEEL_AXE = ModItems.registerItem("ashen_steel_axe",
|
||||
setting -> new SmeltingAxe(ModToolMaterials.ASHEN_STEEL, 6.0F, -3.1F, setting));
|
||||
public static final Item ASHEN_STEEL_HOE = ModItems.registerItem("ashen_steel_hoe",
|
||||
|
||||
@@ -15,7 +15,7 @@ public class FractalDiamondItems {
|
||||
public static final Item FRACTAL_DIAMOND_PICKAXE = ModItems.registerItem("fractal_diamond_pickaxe",
|
||||
setting -> new Item(setting.pickaxe(ModToolMaterials.FRACTAL_DIAMOND, 1.0F, -2.8F)));
|
||||
public static final Item FRACTAL_DIAMOND_HAMMER = ModItems.registerItem("fractal_diamond_hammer",
|
||||
setting -> new HammerItem(ModToolMaterials.FRACTAL_DIAMOND, 7.0F, -3.4F, setting.maxDamage(12863)));
|
||||
setting -> new HammerItem(ModToolMaterials.FRACTAL_DIAMOND, 7.0F, -3.4F, 12863, setting));
|
||||
public static final Item FRACTAL_DIAMOND_AXE = ModItems.registerItem("fractal_diamond_axe",
|
||||
setting -> new AxeItem(ModToolMaterials.FRACTAL_DIAMOND, 6.0F, -3.1F, setting));
|
||||
public static final Item FRACTAL_DIAMOND_HOE = ModItems.registerItem("fractal_diamond_hoe",
|
||||
|
||||
@@ -14,7 +14,7 @@ public class HellfireDiamondItems {
|
||||
public static final Item HELLFIRE_DIAMOND_PICKAXE = ModItems.registerItem("hellfire_diamond_pickaxe",
|
||||
setting -> new SmeltingPickaxe(setting.pickaxe(ModToolMaterials.HELLFIRE_DIAMOND, 1.0F, -2.8F)));
|
||||
public static final Item HELLFIRE_DIAMOND_HAMMER = ModItems.registerItem("hellfire_diamond_hammer",
|
||||
setting -> new SmeltingHammer(ModToolMaterials.HELLFIRE_DIAMOND, 7.0F, -3.4F, setting.maxDamage(12863)));
|
||||
setting -> new SmeltingHammer(ModToolMaterials.HELLFIRE_DIAMOND, 7.0F, -3.4F, 12863, setting));
|
||||
public static final Item HELLFIRE_DIAMOND_AXE = ModItems.registerItem("hellfire_diamond_axe",
|
||||
setting -> new SmeltingAxe(ModToolMaterials.HELLFIRE_DIAMOND, 6.0F, -3.1F, setting));
|
||||
public static final Item HELLFIRE_DIAMOND_HOE = ModItems.registerItem("hellfire_diamond_hoe",
|
||||
|
||||
@@ -16,7 +16,6 @@ public class ModToolMaterials {
|
||||
1561, 8.0F, 3.0F, 22, ModTags.Items.PRISMA_REPAIR);
|
||||
public static ToolMaterial ASHEN_STEEL = new ToolMaterial(BlockTags.INCORRECT_FOR_IRON_TOOL,
|
||||
1561, 8.0F, 3.0F, 22, ModTags.Items.ASHEN_REPAIR);
|
||||
|
||||
public static ToolMaterial FRACTAL_DIAMOND = new ToolMaterial(BlockTags.INCORRECT_FOR_DIAMOND_TOOL,
|
||||
2031, 8.0F, 3.0F, 22, ModTags.Items.FRACTAL_REPAIR);
|
||||
public static ToolMaterial HELLFIRE_DIAMOND = new ToolMaterial(BlockTags.INCORRECT_FOR_DIAMOND_TOOL,
|
||||
|
||||
@@ -17,7 +17,7 @@ public class PrismaSteelItems {
|
||||
public static final Item PRISMA_STEEL_PICKAXE = ModItems.registerItem("prisma_steel_pickaxe",
|
||||
setting -> new Item(setting.pickaxe(ModToolMaterials.PRISMA_STEEL, 1.0F, -2.8F)));
|
||||
public static final Item PRISMA_STEEL_HAMMER = ModItems.registerItem("prisma_steel_hammer",
|
||||
setting -> new HammerItem(ModToolMaterials.PRISMA_STEEL, 9.0F, -3.4F, setting.maxDamage(9886)));
|
||||
setting -> new HammerItem(ModToolMaterials.PRISMA_STEEL, 9.0F, -3.4F, 9886, setting));
|
||||
public static final Item PRISMA_STEEL_AXE = ModItems.registerItem("prisma_steel_axe",
|
||||
setting -> new AxeItem(ModToolMaterials.PRISMA_STEEL, 6.0F, -3.1F, setting));
|
||||
public static final Item PRISMA_STEEL_HOE = ModItems.registerItem("prisma_steel_hoe",
|
||||
|
||||
@@ -14,8 +14,8 @@ import java.util.List;
|
||||
|
||||
public class HammerItem extends Item {
|
||||
|
||||
public HammerItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) {
|
||||
super(settings.pickaxe(material, attackDamage, attackSpeed));
|
||||
public HammerItem(ToolMaterial material, float attackDamage, float attackSpeed, int durability, Settings settings) {
|
||||
super(settings.pickaxe(material, attackDamage, attackSpeed).maxDamage(durability));
|
||||
}
|
||||
|
||||
public static List<BlockPos> getBlocksToBeDestroyed(int range, BlockPos initalBlockPos, ServerPlayerEntity player) {
|
||||
|
||||
@@ -15,8 +15,8 @@ import java.util.List;
|
||||
|
||||
public class SmeltingHammer extends HammerItem {
|
||||
|
||||
public SmeltingHammer(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) {
|
||||
super(material, attackDamage, attackSpeed, settings);
|
||||
public SmeltingHammer(ToolMaterial material, float attackDamage, float attackSpeed, int durability, Settings settings) {
|
||||
super(material, attackDamage, attackSpeed, durability, settings);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -24,11 +24,15 @@ public class HammerUsageEvent implements PlayerBlockBreakEvents.Before{
|
||||
ItemStack mainHandItem = player.getMainHandStack();
|
||||
|
||||
if(mainHandItem.getItem() instanceof HammerItem hammer && player instanceof ServerPlayerEntity serverPlayer) {
|
||||
boolean isSneaking = player.isSneaking();
|
||||
|
||||
if(HARVESTED_BLOCKS.contains(pos)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
for(BlockPos position : HammerItem.getBlocksToBeDestroyed(1, pos, serverPlayer)) {
|
||||
int range = isSneaking ? 0 : 1;
|
||||
|
||||
for(BlockPos position : HammerItem.getBlocksToBeDestroyed(range, pos, serverPlayer)) {
|
||||
if(pos == position || !hammer.isCorrectForDrops(mainHandItem, world.getBlockState(position))) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user