1.1.20
All checks were successful
SorceryCraft/pipeline/head This commit looks good

Update to 20w12a
This commit is contained in:
TheBrokenRail 2020-03-18 17:21:39 -04:00
parent 9d1cad6223
commit b44ca31175
3 changed files with 10 additions and 7 deletions

View File

@ -1,5 +1,8 @@
# Changelog # Changelog
**1.1.20**
* Update to 20w12a
**1.1.19** **1.1.19**
* Update API Docs * Update API Docs
* Allow Setting Custom Display name for Spell * Allow Setting Custom Display name for Spell

View File

@ -3,20 +3,20 @@ org.gradle.jvmargs = -Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/use # check these on https://fabricmc.net/use
minecraft_version = 20w11a minecraft_version = 20w12a
curseforge_id = 365308 curseforge_id = 365308
simple_minecraft_version = 1.16-Snapshot simple_minecraft_version = 1.16-Snapshot
yarn_mappings = 20w11a+build.17 yarn_mappings = 20w12a+build.3
fabric_loader_version = 0.7.8+build.187 fabric_loader_version = 0.7.8+build.187
# Mod Properties # Mod Properties
mod_version = 1.1.19 mod_version = 1.1.20
maven_group = com.thebrokenrail maven_group = com.thebrokenrail
archives_base_name = sorcerycraft archives_base_name = sorcerycraft
# Dependencies # Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_api_version = 0.5.3+build.308-1.16 fabric_api_version = 0.5.5+build.311-1.16
cloth_config_version = 3.0.2-unstable.202003090708 cloth_config_version = 3.1.0-unstable
auto_config_version = 1.2.4 auto_config_version = 1.2.4
mod_menu_version = 1.10.2+build.1 mod_menu_version = 1.10.2+build.1

View File

@ -23,12 +23,12 @@ public class CoolingSpell extends Spell {
@Override @Override
public void execute(World world, Entity source, Entity attacker, BlockHitResult hitResult) { public void execute(World world, Entity source, Entity attacker, BlockHitResult hitResult) {
BlockPos blockPos = hitResult.getBlockPos(); BlockPos blockPos = hitResult.getBlockPos();
if (world.getBlockState(blockPos).matches(BlockTags.FIRE)) { if (world.getBlockState(blockPos).isIn(BlockTags.FIRE)) {
world.removeBlock(blockPos, false); world.removeBlock(blockPos, false);
} }
BlockPos sideBlockPos = blockPos.offset(hitResult.getSide()); BlockPos sideBlockPos = blockPos.offset(hitResult.getSide());
if (world.getBlockState(sideBlockPos).matches(BlockTags.FIRE)) { if (world.getBlockState(sideBlockPos).isIn(BlockTags.FIRE)) {
world.removeBlock(sideBlockPos, false); world.removeBlock(sideBlockPos, false);
} }
} }