Skip to content

Commit 196f262

Browse files
committed
Bump to the latest flywheel & Create
1 parent ed0b528 commit 196f262

File tree

5 files changed

+31
-64
lines changed

5 files changed

+31
-64
lines changed

gradle.properties

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ loom.platform=forge
1616
# yarn_mappings=1.18.2+build.4
1717
# Mappings
1818
# https://lambdaurora.dev/tools/import_quilt.html
19-
qm_version = 26
20-
# https://github.com/ParchmentMC/Parchment/wiki/Getting-Started
21-
parchment_version = 2022.11.06
22-
19+
qm_version=26
20+
# https://github.com/ParchmentMC/Parchment/wiki/Getting-Started
21+
parchment_version=2022.11.06
2322
# Mod Properties
24-
mod_version=0.2.0-dev
25-
maven_group=io.github.dovecotmc
26-
archives_base_name=LeadBeyond
27-
mod_id=lead_beyond
28-
mod_author=pkstDev
29-
create_version=0.5.0.e-206
30-
flywheel_version=0.6.6-94
31-
registrate_version=1.1.3
23+
mod_version=0.2.0-dev
24+
maven_group=io.github.dovecotmc
25+
archives_base_name=LeadBeyond
26+
mod_id=lead_beyond
27+
mod_author=pkstDev
28+
create_version=0.5.1.b-285
29+
flywheel_version=0.6.8.a-99
30+
registrate_version=1.1.3

src/main/java/io/github/dovecotmc/leadbeyond/common/block/LBSeatBlock.java

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.github.dovecotmc.leadbeyond.common.block;
22

3-
import com.simibubi.create.content.contraptions.components.actors.SeatBlock;
3+
import com.simibubi.create.content.contraptions.actors.seat.SeatBlock;
44
import net.minecraft.core.BlockPos;
55
import net.minecraft.core.Direction;
66
import net.minecraft.world.item.DyeColor;
@@ -20,23 +20,26 @@
2020

2121
public class LBSeatBlock extends SeatBlock {
2222
public static final DirectionProperty FACING = BlockStateProperties.HORIZONTAL_FACING;
23-
private final VoxelShape northShape;
24-
private final VoxelShape southShape;
25-
private final VoxelShape westShape;
26-
private final VoxelShape eastShape;
23+
private static final VoxelShape northShape;
24+
private static final VoxelShape southShape;
25+
private static final VoxelShape westShape;
26+
private static final VoxelShape eastShape;
2727

2828
public LBSeatBlock(@NotNull Properties settings) {
2929
super(settings.noOcclusion(), DyeColor.BLUE, true);
3030
// Preventing lag
31-
this.northShape = makeNorthShape();
32-
this.southShape = makeSouthShape();
33-
this.westShape = makeWestShape();
34-
this.eastShape = makeEastShape();
3531
registerDefaultState(this.stateDefinition.any()
3632
.setValue(FACING, Direction.NORTH)
3733
.setValue(WATERLOGGED, false));
3834
}
3935

36+
static {
37+
northShape = makeNorthShape();
38+
southShape = makeSouthShape();
39+
westShape = makeWestShape();
40+
eastShape = makeEastShape();
41+
}
42+
4043
@Override
4144
protected void createBlockStateDefinition(@NotNull StateDefinition.Builder<Block, BlockState> stateManager) {
4245
super.createBlockStateDefinition(stateManager.add(FACING));

src/main/java/io/github/dovecotmc/leadbeyond/common/block/TicketVendorBlock.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package io.github.dovecotmc.leadbeyond.common.block;
22

3-
import com.simibubi.create.content.contraptions.wrench.IWrenchable;
4-
import io.github.dovecotmc.leadbeyond.LeadBeyond;
3+
import com.simibubi.create.content.equipment.wrench.IWrenchable;
54
import io.github.dovecotmc.leadbeyond.common.Constants;
65
import io.github.dovecotmc.leadbeyond.common.item.CardItem;
76
import io.github.dovecotmc.leadbeyond.common.reg.ItemReg;

src/main/java/io/github/dovecotmc/leadbeyond/common/block/TurnstileBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package io.github.dovecotmc.leadbeyond.common.block;
22

3-
import com.simibubi.create.content.contraptions.wrench.IWrenchable;
3+
import com.simibubi.create.content.equipment.wrench.IWrenchable;
44
import io.github.dovecotmc.leadbeyond.common.item.CardItem;
55
import io.github.dovecotmc.leadbeyond.common.item.TicketItem;
66
import io.github.dovecotmc.leadbeyond.common.item.Ticketable;
Lines changed: 6 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,29 @@
1-
# This is an example mods.toml file.
2-
# Any fields that aren't annotated with #optional are *required*!
31
modLoader = "javafml"
42
loaderVersion = "[40,)"
5-
license = "MIT" # Want to make your mod open source? Check out https://choosealicense.com/!
6-
7-
# This is a URL to e.g. your GitHub or CurseForge issues page.
8-
# It will appear in any crash reports this mod is directly involved in.
9-
# issueTrackerURL="https://github.com/invalid/pleasechangeme/issues" #optional
10-
# A list of mods - how many allowed here is determined by the individual mod loader
11-
3+
license = "MIT"
124
[[mods]]
135
modId = "lead_beyond"
14-
# The version number of the mod - unlike in the Forge MDK,
15-
# we'll use the processResources task to replace this for us
166
version = "${version}"
177
displayName = "Lead Beyond"
18-
# This URL will be queried by the Forge update checker in order to find the latest version of your mod.
19-
# If an update is found, you'll see a little blinking "emerald" symbol on your Mods button!
20-
# updateJSONURL="https://changeme.dev/updates.json" #optional
21-
# This is your mod's "homepage" and will be displayed on the mod's information screen in the Mods panel.
22-
# displayURL="https://changeme.dev/" #optional
23-
# This will be displayed as your mod's logo in the Mods panel.
24-
# logoFile="icon.png" #optional
25-
# Some more fluff displayed in the Mods panel. Feel free to issue your special thanks here!
26-
# credits="Thanks to Mojang for making this great game" #optional
27-
# Some more fluff displayed in the Mods panel. Plug your stuff here!
28-
authors="pkstDev" #optional
29-
# A multi-line description for your mod. This has no minimum length, but it *is* required!
8+
authors = [
9+
"pkstDev",
10+
"Radekemia"
11+
]
3012
description = '''
3113
Humans lead their way beyond the nature...
3214
3315
A railway-themed decoration mod for Dovecot railway server.
3416
'''
35-
36-
# An (optional) dependency for your mod. Though technically not required,
37-
# it's always helpful to add these to stop your mod from loading when something is missing
38-
# rather than erroring out later
39-
[[dependencies.lead_beyond]]
40-
modId = "forge"
41-
mandatory = true # do you **need** this mod to be able to launch?
42-
# A version range using interval notation.
43-
# Brackets mean "inclusive" bounds, while parentheses mean "exclusive".
44-
versionRange = "[40,)" # This essentially means any forge >= 40
45-
ordering = "NONE" # Use this if you want your mod to be loaded specifically BEFORE or AFTER another mod
46-
side = "BOTH" # Specify where this mod is required: can be BOTH, CLIENT or SERVER
47-
48-
# And another dependency, use this if you want to require a certain Minecraft version.
4917
[[dependencies.lead_beyond]]
5018
modId = "minecraft"
5119
mandatory = true
52-
# See above for how to read this notation, this essentially means any
53-
# version of Minecraft from 1.18.2 (inclusive).
5420
versionRange = "[1.18.2,)"
5521
ordering = "NONE"
5622
side = "BOTH"
5723

5824
[[dependencies.lead_beyond]]
5925
modId = "create"
6026
mandatory = true
61-
versionRange = "[0.5,)"
27+
versionRange = "[0.5.1,)"
6228
ordering = "AFTER"
6329
side = "BOTH"

0 commit comments

Comments
 (0)