Skip to content

Commit f1ca7c6

Browse files
committed
- hotfix for block related crash
1 parent bb7a893 commit f1ca7c6

File tree

3 files changed

+5
-38
lines changed

3 files changed

+5
-38
lines changed

CHANGELOG.md

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,3 @@
1-
## v1.1.10 (1.20.1)
2-
- fixed issue where miapi would break certain tags
3-
- made LoreProperty usable
4-
- changed module property resolving to allow for more complex conditions
5-
- Renderer Changes :
6-
- rebranded Altrenderer to BakedModelRenderer
7-
- removed other renderers + added Animations
8-
- added ShapedMining Property allowing for vein and Cube based Mining with the following elements
9-
- Shape
10-
- Condition
11-
- Modifiers (adjusting behaviour)
12-
- Mode (the actual mining)
13-
- added StatResolvers "collect","module" "material-module", "module-material", "count"
14-
- "collect"/ [collect.add.material.somestat]
15-
- allows for "add","max","min","average"
16-
- "module"/ [module.someStat]
17-
- "material-module"/ [material-module.someStat] and "module-material"/ [module-material.someStat]
18-
- "material-module" will first check for a material stat, then module,"module-material" the other way arround
19-
- "count" counts certain things
20-
- [count.module] will return the count of modules
21-
- [count.submodules] will return the count of submodules
22-
- changed Attribute Property to allow merging to multiplier as well
23-
- added Critical Damage and Chance Attribute
24-
- added HideFlags property
25-
- added basic Epic Fight Compat
26-
- added cooldown field to riptide property
27-
- added NoiseCanceling Property to prevent the emitting of StepEvents
28-
- gave wool boots noise canceling
29-
- added Lightning On Hit Property to cast Lightning on Melee Hits
30-
- added gui_stat property to add custom stats to the gui via json
31-
- added enchantability to Materials
32-
- added Enchantability Property to control the enchantability in the enchanting table, this prob wont work with enchanting table rework mods
33-
- adjusted how Backstab is calculated, +2 Backstab will now give +2 Damage +100% will double your damage
34-
- Reworked Abilities from abilities to ability_context property to allow common things
35-
- default includes cooldown and minhold
36-
- fixed some issues related to Generated Materials
1+
## v1.1.11 (1.20.1)
2+
- fixed bug were wood tag wasnt picked up correctly
3+
- added config option for max generated materials to prevent crashes with default of 200 per type (generated,wood,stone)

common/src/main/java/smartin/miapi/modules/abilities/BlockAbility.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public ItemStack finishUsing(ItemStack stack, World world, LivingEntity user) {
9393
@Override
9494
public void onStoppedUsingAfter(ItemStack stack, World world, LivingEntity user, int remainingUseTicks) {
9595
resetAnimation(user);
96-
super.onStoppedUsing(stack, world, user, remainingUseTicks);
96+
super.onStoppedUsingAfter(stack, world, user, remainingUseTicks);
9797
}
9898

9999
@Override

common/src/main/resources/data/miapi/materials/wood/wood.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"item": "minecraft:stick",
3636
"value": 0.5
3737
},{
38-
"tag": "minecraft:planks2",
38+
"tag": "minecraft:planks",
3939
"value": 1.0
4040
}
4141
]

0 commit comments

Comments
 (0)