work
This commit is contained in:
@@ -363,15 +363,14 @@ public class RenderDataFactory45 {
|
|||||||
|
|
||||||
{
|
{
|
||||||
int idx = index + (pidx*32);
|
int idx = index + (pidx*32);
|
||||||
|
int shift = skipAmount * 32;
|
||||||
//TODO: swap this out for something not getting the next entry
|
|
||||||
long A = this.sectionData[idx * 2];
|
|
||||||
long B = this.sectionData[(idx + skipAmount * 32) * 2];
|
|
||||||
|
|
||||||
//Flip data with respect to facing direction
|
//Flip data with respect to facing direction
|
||||||
long selfModel = facingForward == 1 ? A : B;
|
int iA = idx * 2 + (facingForward == 1 ? 0 : shift);
|
||||||
long nextModel = facingForward == 1 ? B : A;
|
int iB = idx * 2 + (facingForward == 1 ? shift : 0);
|
||||||
|
|
||||||
|
long selfModel = this.sectionData[iA];
|
||||||
|
long nextModel = this.sectionData[iB];
|
||||||
|
|
||||||
this.blockMesher.putNext(((long) facingForward) |//Facing
|
this.blockMesher.putNext(((long) facingForward) |//Facing
|
||||||
selfModel |
|
selfModel |
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import java.util.List;
|
|||||||
|
|
||||||
@Mixin(SodiumOptionsGUI.class)
|
@Mixin(SodiumOptionsGUI.class)
|
||||||
public class MixinSodiumOptionsGUI {
|
public class MixinSodiumOptionsGUI {
|
||||||
@Shadow @Final private List<OptionPage> pages;
|
@Shadow(remap = false) @Final private List<OptionPage> pages;
|
||||||
|
|
||||||
@Inject(method = "<init>", at = @At("TAIL"))
|
@Inject(method = "<init>", at = @At("TAIL"))
|
||||||
private void voxy$addConfigPage(Screen prevScreen, CallbackInfo ci) {
|
private void voxy$addConfigPage(Screen prevScreen, CallbackInfo ci) {
|
||||||
|
|||||||
Reference in New Issue
Block a user