2020import net .minecraft .core .BlockPos ;
2121import net .minecraft .core .Direction ;
2222import net .minecraft .resources .ResourceLocation ;
23+ import net .minecraft .util .RandomSource ;
2324import net .minecraft .world .item .ItemStack ;
2425import net .minecraft .world .level .BlockAndTintGetter ;
2526import net .minecraft .world .level .block .state .BlockState ;
2627import org .embeddedt .modernfix .testmod .TestMod ;
2728import org .jetbrains .annotations .Nullable ;
2829
29- import java .util .*;
30+ import java .util .Collection ;
31+ import java .util .Collections ;
32+ import java .util .List ;
33+ import java .util .Set ;
3034import java .util .function .Function ;
3135import java .util .function .Supplier ;
3236
@@ -50,17 +54,17 @@ public boolean isVanillaAdapter() {
5054 }
5155
5256 @ Override
53- public void emitBlockQuads (BlockAndTintGetter blockView , BlockState state , BlockPos pos , Supplier <Random > randomSupplier , RenderContext context ) {
57+ public void emitBlockQuads (BlockAndTintGetter blockView , BlockState state , BlockPos pos , Supplier <RandomSource > randomSupplier , RenderContext context ) {
5458 context .meshConsumer ().accept (mesh );
5559 }
5660
5761 @ Override
58- public void emitItemQuads (ItemStack stack , Supplier <Random > randomSupplier , RenderContext context ) {
62+ public void emitItemQuads (ItemStack stack , Supplier <RandomSource > randomSupplier , RenderContext context ) {
5963 context .meshConsumer ().accept (mesh );
6064 }
6165
6266 @ Override
63- public List <BakedQuad > getQuads (@ Nullable BlockState state , @ Nullable Direction side , Random rand ) {
67+ public List <BakedQuad > getQuads (@ Nullable BlockState state , @ Nullable Direction side , RandomSource rand ) {
6468 return Collections .emptyList ();
6569 }
6670
0 commit comments