Update to 1.20.6
This commit is contained in:
parent
791195a2a1
commit
d018c369ae
@ -3,7 +3,7 @@
|
|||||||
based on [JumpVader](https://github.com/StimzRx/JumpVaderMod) by [StimzRx](https://github.com/StimzRx/JumpVaderMod)
|
based on [JumpVader](https://github.com/StimzRx/JumpVaderMod) by [StimzRx](https://github.com/StimzRx/JumpVaderMod)
|
||||||
|
|
||||||
## What is it
|
## What is it
|
||||||
It's a mod that lets you place "Jump Vader" blocks similar to the Quark mod's elevators.
|
It's a mod that lets you place "Televator" blocks similar to the Quark mod's elevators.
|
||||||
You simply place one above the other at any vertical distance, and jump/crouch on top of the
|
You simply place one above the other at any vertical distance, and jump/crouch on top of the
|
||||||
block to go in between the different heights.
|
block to go in between the different heights.
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ processResources {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
it.options.release = 17
|
it.options.release = 21
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
java {
|
||||||
|
@ -4,17 +4,16 @@ org.gradle.parallel=true
|
|||||||
|
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/develop
|
# check these on https://fabricmc.net/develop
|
||||||
minecraft_version=1.20.4
|
minecraft_version=1.20.6
|
||||||
yarn_mappings=1.20.4+build.3
|
yarn_mappings=1.20.6+build.1
|
||||||
loader_version=0.15.9
|
loader_version=0.15.11
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.0.9+1.20.4
|
mod_version = 1.0.11+1.20.6
|
||||||
maven_group = systems.brn.televator
|
maven_group = systems.brn.televator
|
||||||
archives_base_name = televator
|
archives_base_name = televator
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
fabric_version=0.96.11+1.20.4
|
fabric_version=0.97.8+1.20.6
|
||||||
serverapi_version=1.0.8+1.20.1
|
polymer_version=0.8.0-beta.8+1.20.6
|
||||||
polymer_version=0.7.7+1.20.4
|
server_translations_api_version=2.3.0+1.20.5-rc2
|
||||||
server_translations_api_version=2.2.0+1.20.3-rc1
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package systems.brn.televator.blocks;
|
package systems.brn.televator.blocks;
|
||||||
|
|
||||||
|
import net.minecraft.block.AbstractBlock;
|
||||||
import systems.brn.televator.Televator;
|
import systems.brn.televator.Televator;
|
||||||
import systems.brn.televator.TelevatorConfig;
|
import systems.brn.televator.TelevatorConfig;
|
||||||
import systems.brn.televator.items.TelevatorBlockItem;
|
import systems.brn.televator.items.TelevatorBlockItem;
|
||||||
@ -7,7 +8,6 @@ import eu.pb4.polymer.blocks.api.BlockModelType;
|
|||||||
import eu.pb4.polymer.blocks.api.PolymerBlockModel;
|
import eu.pb4.polymer.blocks.api.PolymerBlockModel;
|
||||||
import eu.pb4.polymer.blocks.api.PolymerTexturedBlock;
|
import eu.pb4.polymer.blocks.api.PolymerTexturedBlock;
|
||||||
import eu.pb4.polymer.blocks.api.PolymerBlockResourceUtils;
|
import eu.pb4.polymer.blocks.api.PolymerBlockResourceUtils;
|
||||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.BlockState;
|
import net.minecraft.block.BlockState;
|
||||||
import net.minecraft.block.Blocks;
|
import net.minecraft.block.Blocks;
|
||||||
@ -31,11 +31,6 @@ public class TelevatorBlock extends Block implements PolymerTexturedBlock {
|
|||||||
this.polymerBlockState = PolymerBlockResourceUtils.requestBlock(type, PolymerBlockModel.of(new Identifier(Televator.MODID, modelId)));
|
this.polymerBlockState = PolymerBlockResourceUtils.requestBlock(type, PolymerBlockModel.of(new Identifier(Televator.MODID, modelId)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Block getPolymerBlock(BlockState state) {
|
|
||||||
return this.polymerBlockState.getBlock();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlockState getPolymerBlockState(BlockState state) {
|
public BlockState getPolymerBlockState(BlockState state) {
|
||||||
return this.polymerBlockState;
|
return this.polymerBlockState;
|
||||||
@ -44,7 +39,7 @@ public class TelevatorBlock extends Block implements PolymerTexturedBlock {
|
|||||||
public static void register() {
|
public static void register() {
|
||||||
var modId = new Identifier(Televator.MODID, Televator.MODELID);
|
var modId = new Identifier(Televator.MODID, Televator.MODELID);
|
||||||
var block = Registry.register(Registries.BLOCK, modId,
|
var block = Registry.register(Registries.BLOCK, modId,
|
||||||
new TelevatorBlock(FabricBlockSettings.copy(Blocks.WHITE_WOOL), BlockModelType.FULL_BLOCK, Televator.MODELID));
|
new TelevatorBlock(AbstractBlock.Settings.copy(Blocks.WHITE_WOOL), BlockModelType.FULL_BLOCK, Televator.MODELID));
|
||||||
|
|
||||||
Registry.register(Registries.ITEM, modId, new TelevatorBlockItem(new Item.Settings(), block, Televator.MODELID));
|
Registry.register(Registries.ITEM, modId, new TelevatorBlockItem(new Item.Settings(), block, Televator.MODELID));
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"block.televator.televator": "Jump Vader"
|
"block.televator.televator": "Televator"
|
||||||
}
|
}
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"type": "minecraft:crafting_shaped",
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"category": "redstone",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
"#A#",
|
"#A#",
|
||||||
"AEA",
|
"AEA",
|
||||||
@ -17,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"item": "televator:televator",
|
"id": "televator:televator",
|
||||||
"count": 2
|
"count": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -3,8 +3,8 @@
|
|||||||
"id": "televator",
|
"id": "televator",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
|
|
||||||
"name": "Jump Vader",
|
"name": "Televator",
|
||||||
"description": "Televator Serverside",
|
"description": "Televator Serversider",
|
||||||
"authors": [
|
"authors": [
|
||||||
"VenomCodeDev",
|
"VenomCodeDev",
|
||||||
"BRNSystems"
|
"BRNSystems"
|
||||||
@ -25,10 +25,10 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.15.9",
|
"fabricloader": ">=0.15.11",
|
||||||
"minecraft": "~1.20.4",
|
"minecraft": "~1.20.6",
|
||||||
"java": ">=17",
|
"java": ">=17",
|
||||||
"fabric-api": "*",
|
"fabric-api": ">=0.97.8+1.20.6",
|
||||||
"polymer-core": "0.7.7+1.20.4"
|
"polymer-core": ">=0.8.0-beta.8+1.20.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user