Skip to content

Commit

Permalink
1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiDragon committed Dec 11, 2023
1 parent be452a9 commit 90cce6a
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 33 deletions.
3 changes: 0 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ dependencies {

modImplementation "net.fabricmc.fabric-api:fabric-api:$fabric_api_version"

// Mixin Extras
include(annotationProcessor(implementation("com.github.LlamaLad7.mixinextras:mixinextras-fabric:$mixin_extras_version")))

// Core apis for the mod
modImplementation include("eu.pb4:polymer-core:$polymer_version")
modImplementation include("eu.pb4:polymer-virtual-entity:$polymer_version")
Expand Down
19 changes: 9 additions & 10 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true

minecraft_version=1.20.2
yarn_mappings=1.20.2+build.2
loader_version=0.14.22
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.1
loader_version=0.15.1

mod_version=2.0.1
maven_group=io.github.mattidragon.powernetworks
archives_base_name=power-networks

fabric_api_version=0.89.3+1.20.2
mixin_extras_version=0.2.0-rc.5
polymer_version=0.6.0+1.20.2
graphlib_version=1.4.0+1.20.2
server_translation_api_version=2.1.0+1.20.2-rc2
fabric_api_version=0.91.2+1.20.4
polymer_version=0.7.1+1.20.4
graphlib_version=1.4.0+1.20.4
server_translation_api_version=2.2.0+1.20.3-rc1
energy_version=3.0.0
yacl_version=3.2.1+1.20.2
modmenu_version=8.0.0
yacl_version=3.3.1+1.20.4
modmenu_version=9.0.0-pre.1
configtoolkit_version=1.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"power_networks:advanced_coil"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"power_networks:basic_coil"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"power_networks:improved_coil"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"power_networks:ultimate_coil"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
"recipes": [
"power_networks:wire"
]
},
"sends_telemetry_event": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
"result": {
"count": 2,
"item": "power_networks:advanced_coil"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
"result": {
"count": 2,
"item": "power_networks:basic_coil"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
"result": {
"count": 2,
"item": "power_networks:improved_coil"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
"result": {
"count": 2,
"item": "power_networks:ultimate_coil"
},
"show_notification": true
}
}
3 changes: 1 addition & 2 deletions src/main/generated/data/power_networks/recipes/wire.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
"result": {
"count": 16,
"item": "power_networks:wire"
},
"show_notification": true
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package io.github.mattidragon.powernetworks.block;

import com.mojang.serialization.MapCodec;
import eu.pb4.polymer.core.api.block.PolymerBlock;
import eu.pb4.polymer.core.api.utils.PolymerClientDecoded;
import eu.pb4.polymer.core.api.utils.PolymerKeepModel;
Expand Down Expand Up @@ -99,6 +100,11 @@ public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEnt
}
}

@Override
protected MapCodec<? extends RodBlock> getCodec() {
return MapCodec.unit(this);
}

@Override
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) {
return VoxelShapes.union(super.getOutlineShape(state, world, pos, context), createCuboidShape(4, 4, 4, 12, 12, 12));
Expand Down

0 comments on commit 90cce6a

Please sign in to comment.