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
# mod version info
mod_version = 0.4.1
mod_version = 0.5.0
minecraft_version = 1.18.2
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)
.initialProperties(SharedProperties::softMetal)
.properties(p -> p.sound(SoundType.NETHERITE_BLOCK))
.properties(BlockBehaviour.Properties::noOcclusion)
.transform(pickaxeOnly())
.blockstate((c, p) -> p.getVariantBuilder(c.get())
.forAllStates(state -> ConfiguredModel.builder()

View File

@ -59,7 +59,7 @@ public class Create {
public static final String ID = "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();

View File

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

View File

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

View File

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