Version bump

This commit is contained in:
simibubi 2022-03-23 20:02:36 +01:00
parent 92e48c3307
commit 273a276fda
6 changed files with 8 additions and 3 deletions

View file

@ -4,7 +4,7 @@ org.gradle.jvmargs = -Xmx3G
org.gradle.daemon = false org.gradle.daemon = false
# mod version info # mod version info
mod_version = 0.4.1 mod_version = 0.5.0
minecraft_version = 1.18.2 minecraft_version = 1.18.2
forge_version = 40.0.19 forge_version = 40.0.19

View file

@ -1338,6 +1338,7 @@ public class AllBlocks {
public static final BlockEntry<SignalBlock> TRACK_SIGNAL = REGISTRATE.block("track_signal", SignalBlock::new) public static final BlockEntry<SignalBlock> TRACK_SIGNAL = REGISTRATE.block("track_signal", SignalBlock::new)
.initialProperties(SharedProperties::softMetal) .initialProperties(SharedProperties::softMetal)
.properties(p -> p.sound(SoundType.NETHERITE_BLOCK)) .properties(p -> p.sound(SoundType.NETHERITE_BLOCK))
.properties(BlockBehaviour.Properties::noOcclusion)
.transform(pickaxeOnly()) .transform(pickaxeOnly())
.blockstate((c, p) -> p.getVariantBuilder(c.get()) .blockstate((c, p) -> p.getVariantBuilder(c.get())
.forAllStates(state -> ConfiguredModel.builder() .forAllStates(state -> ConfiguredModel.builder()

View file

@ -59,7 +59,7 @@ public class Create {
public static final String ID = "create"; public static final String ID = "create";
public static final String NAME = "Create"; public static final String NAME = "Create";
public static final String VERSION = "0.4.1"; public static final String VERSION = "0.5-unstable";
public static final Logger LOGGER = LogManager.getLogger(); public static final Logger LOGGER = LogManager.getLogger();

View file

@ -186,6 +186,9 @@ public class SignalBoundary extends TrackEdgePoint {
invalid = true; invalid = true;
break; break;
} }
if (otherSignal.blockEntities.get(sideOfOther)
.isEmpty())
continue;
SignalState otherState = otherSignal.cachedStates.get(sideOfOther); SignalState otherState = otherSignal.cachedStates.get(sideOfOther);
allPathsFree &= otherState == SignalState.GREEN || otherState == SignalState.INVALID; allPathsFree &= otherState == SignalState.GREEN || otherState == SignalState.INVALID;
noPathsFree &= otherState == SignalState.RED; noPathsFree &= otherState == SignalState.RED;

View file

@ -36,6 +36,7 @@ public class SignalRenderer extends SafeTileEntityRenderer<SignalTileEntity> {
.renderInto(ms, buffer.getBuffer(RenderType.solid())); .renderInto(ms, buffer.getBuffer(RenderType.solid()));
else else
CachedBufferer.partial(AllBlockPartials.SIGNAL_OFF, blockState) CachedBufferer.partial(AllBlockPartials.SIGNAL_OFF, blockState)
.light(light)
.renderInto(ms, buffer.getBuffer(RenderType.solid())); .renderInto(ms, buffer.getBuffer(RenderType.solid()));
BlockPos pos = te.getBlockPos(); BlockPos pos = te.getBlockPos();

View file

@ -5,7 +5,7 @@ license="MIT"
[[mods]] [[mods]]
modId="create" modId="create"
version="0.4.1" version="0.5.0"
displayName="Create" displayName="Create"
#updateJSONURL="" #updateJSONURL=""
displayURL="https://www.curseforge.com/minecraft/mc-mods/create" displayURL="https://www.curseforge.com/minecraft/mc-mods/create"