Modifier and Type | Method and Description |
---|---|
<T1,T2> void |
PacketRemapper.map(Type<T1> oldType,
ValueTransformer<T1,T2> transformer)
Map a type from an old type to a transformed new type.
|
<T1,T2> void |
PacketRemapper.map(ValueTransformer<T1,T2> transformer)
Map a type from an old type to a transformed new type.
|
Modifier and Type | Field and Description |
---|---|
static ValueTransformer<Short,Float> |
Protocol1_10To1_9_3_4.TO_NEW_PITCH |
static ValueTransformer<List<Metadata>,List<Metadata>> |
Protocol1_10To1_9_3_4.TRANSFORM_METADATA |
Modifier and Type | Field and Description |
---|---|
static ValueTransformer<Short,Short> |
Protocol1_9_3To1_9_1_2.ADJUST_PITCH |
Modifier and Type | Field and Description |
---|---|
static ValueTransformer<String,com.google.gson.JsonElement> |
Protocol1_9To1_8.FIX_JSON |
Modifier and Type | Field and Description |
---|---|
static ValueTransformer<Integer,Double> |
SpawnPackets.toNewDouble |
static ValueTransformer<Byte,Short> |
EntityPackets.toNewShort |
Copyright © 2016–2021. All rights reserved.